Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7316/0.7316, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 180.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 94.2 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.048e-05, allocations: 0 / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 76.76 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.587/5.755, allocations: 2.161 GB / 2.79 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/5.755, allocations: 75.95 kB / 2.79 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.104/5.859, allocations: 51.95 MB / 2.84 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.595e-06/5.859, allocations: 0 / 2.84 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.264e-05/5.859, allocations: 4 kB / 2.84 GB, free: 114.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001404/5.861, allocations: 0.5653 MB / 2.841 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/5.861, allocations: 19.95 kB / 2.841 GB, free: 114 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.875e-05/5.861, allocations: 50.55 kB / 2.841 GB, free: 114 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/5.862, allocations: 143.6 kB / 2.841 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/5.862, allocations: 222.7 kB / 2.841 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/5.862, allocations: 16.44 kB / 2.841 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/5.863, allocations: 23.89 kB / 2.841 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/5.863, allocations: 343.4 kB / 2.842 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/5.863, allocations: 0 / 2.842 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/5.863, allocations: 12 kB / 2.842 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/5.863, allocations: 16.36 kB / 2.842 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/5.864, allocations: 312.9 kB / 2.842 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/5.865, allocations: 1.197 MB / 2.843 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/5.866, allocations: 180.3 kB / 2.843 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/5.866, allocations: 76.83 kB / 2.843 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/5.866, allocations: 356.4 kB / 2.844 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/5.866, allocations: 42.72 kB / 2.844 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/5.866, allocations: 0 / 2.844 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0005155/5.867, allocations: 188.5 kB / 2.844 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/5.867, allocations: 59.25 kB / 2.844 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/5.867, allocations: 198.4 kB / 2.844 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/5.867, allocations: 29.7 kB / 2.844 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/5.867, allocations: 147.9 kB / 2.844 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/5.867, allocations: 71 kB / 2.844 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/5.867, allocations: 0 / 2.844 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/5.868, allocations: 338.8 kB / 2.845 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/5.868, allocations: 64.25 kB / 2.845 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/5.868, allocations: 164.5 kB / 2.845 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/5.868, allocations: 96.14 kB / 2.845 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/5.868, allocations: 4 kB / 2.845 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004388/5.868, allocations: 271.9 kB / 2.845 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/5.868, allocations: 12.06 kB / 2.845 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/5.868, allocations: 0 / 2.845 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/5.868, allocations: 8 kB / 2.845 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/5.869, allocations: 59.91 kB / 2.845 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/5.869, allocations: 4 kB / 2.845 GB, free: 109 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/5.869, allocations: 39.53 kB / 2.845 GB, free: 109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/5.869, allocations: 12 kB / 2.845 GB, free: 109 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/5.869, allocations: 128.9 kB / 2.846 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/5.869, allocations: 19.81 kB / 2.846 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/5.87, allocations: 223.9 kB / 2.846 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/5.87, allocations: 0 / 2.846 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/5.87, allocations: 4 kB / 2.846 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/5.87, allocations: 0 / 2.846 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/5.87, allocations: 0.503 MB / 2.846 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/5.87, allocations: 3.984 kB / 2.846 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/5.87, allocations: 39.95 kB / 2.846 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/5.87, allocations: 0 / 2.846 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/5.87, allocations: 4 kB / 2.846 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/5.87, allocations: 4 kB / 2.846 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/5.87, allocations: 3.953 kB / 2.846 GB, free: 108 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/5.871, allocations: 304.8 kB / 2.847 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/5.871, allocations: 124.8 kB / 2.847 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/5.871, allocations: 4 kB / 2.847 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/5.871, allocations: 8 kB / 2.847 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/5.871, allocations: 7.984 kB / 2.847 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/5.871, allocations: 15.98 kB / 2.847 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001252/5.871, allocations: 156.2 kB / 2.847 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.7e-07/5.871, allocations: 0 / 2.847 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006963/5.872, allocations: 151.8 kB / 2.847 GB, free: 107.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001622/5.874, allocations: 1.448 MB / 2.849 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003401/5.874, allocations: 191.1 kB / 2.849 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/5.874, allocations: 0 / 2.849 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/5.874, allocations: 75.91 kB / 2.849 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/5.875, allocations: 85.3 kB / 2.849 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/5.876, allocations: 336.6 kB / 2.849 GB, free: 105 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/5.876, allocations: 0.7408 MB / 2.85 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003187/5.876, allocations: 61.98 kB / 2.85 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/5.876, allocations: 55.41 kB / 2.85 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/5.876, allocations: 0 / 2.85 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/5.912, allocations: 17.55 MB / 2.867 GB, free: 86.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/5.912, allocations: 140.9 kB / 2.867 GB, free: 86.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/8.15, allocations: 0 / 2.867 GB, free: 86.48 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe 2>&1)