Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00692/0.006919, allocations: 101.6 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 197.4 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 290.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 91.86 kB / 0.681 GB, free: 7.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4831, allocations: 86.98 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.151/0.6341, allocations: 149.1 MB / 0.9115 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00416/0.6383, allocations: 3.617 MB / 0.9151 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.6385, allocations: 3.938 kB / 0.9151 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.6388, allocations: 67.56 kB / 0.9151 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.6393, allocations: 139.2 kB / 0.9153 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.6417, allocations: 1.017 MB / 0.9163 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.6421, allocations: 319.7 kB / 0.9166 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.6421, allocations: 12.38 kB / 0.9166 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.6425, allocations: 191.1 kB / 0.9168 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.6427, allocations: 131.5 kB / 0.9169 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.6428, allocations: 16 kB / 0.9169 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.6447, allocations: 1.223 MB / 0.9181 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.6448, allocations: 71.78 kB / 0.9182 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.645, allocations: 103.6 kB / 0.9183 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.6462, allocations: 0.6312 MB / 0.9189 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6462, allocations: 0 / 0.9189 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6462, allocations: 0 / 0.9189 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.6462, allocations: 0 / 0.9189 GB, free: 6.605 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001214/0.6474, allocations: 0.6006 MB / 0.9195 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6475, allocations: 8.031 kB / 0.9195 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.397e-05/0.6475, allocations: 54.73 kB / 0.9195 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.6488, allocations: 132.6 kB / 0.9196 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.649, allocations: 235.7 kB / 0.9199 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.6491, allocations: 16.36 kB / 0.9199 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.6491, allocations: 16 kB / 0.9199 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.6496, allocations: 334.3 kB / 0.9202 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6496, allocations: 8 kB / 0.9202 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.6497, allocations: 4 kB / 0.9202 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.6497, allocations: 19.98 kB / 0.9203 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.6502, allocations: 324.1 kB / 0.9206 GB, free: 4.766 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.6518, allocations: 1.105 MB / 0.9216 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.6523, allocations: 190.5 kB / 0.9218 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.6525, allocations: 84.73 kB / 0.9219 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/0.653, allocations: 457.5 kB / 0.9223 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.6531, allocations: 42.5 kB / 0.9224 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.6531, allocations: 0 / 0.9224 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.0006299/0.6537, allocations: 259.9 kB / 0.9226 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.6537, allocations: 51.41 kB / 0.9227 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.6539, allocations: 207 kB / 0.9229 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.654, allocations: 33.7 kB / 0.9229 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.6541, allocations: 144 kB / 0.923 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.6541, allocations: 78.84 kB / 0.9231 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.6542, allocations: 53.7 kB / 0.9232 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6543, allocations: 326.8 kB / 0.9235 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.6545, allocations: 68.22 kB / 0.9235 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.6546, allocations: 161.3 kB / 0.9237 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.6549, allocations: 253.1 kB / 0.9239 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6549, allocations: 7.875 kB / 0.924 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004781/0.6554, allocations: 283.8 kB / 0.9242 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6555, allocations: 11.98 kB / 0.9242 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6555, allocations: 4 kB / 0.9242 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.6555, allocations: 7.938 kB / 0.9242 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.6558, allocations: 52.3 kB / 0.9243 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6558, allocations: 8 kB / 0.9243 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.656, allocations: 35.58 kB / 0.9243 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.656, allocations: 16 kB / 0.9244 GB, free: 0.543 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.6562, allocations: 137.7 kB / 0.9245 GB, free: 408 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.6563, allocations: 27.73 kB / 0.9245 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.6567, allocations: 271.3 kB / 0.9248 GB, free: 100 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.6567, allocations: 4 kB / 0.9248 GB, free: 96 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6568, allocations: 112 / 0.9248 GB, free: 96 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6568, allocations: 7.938 kB / 0.9248 GB, free: 88 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006997/0.6575, allocations: 0.5857 MB / 0.9254 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6575, allocations: 0 / 0.9254 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.6577, allocations: 35.92 kB / 0.9254 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6577, allocations: 0 / 0.9254 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.6577, allocations: 8 kB / 0.9254 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6577, allocations: 0 / 0.9254 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6577, allocations: 0 / 0.9254 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.6582, allocations: 356.1 kB / 0.9257 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.6583, allocations: 120.7 kB / 0.9258 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.6584, allocations: 11.98 kB / 0.9259 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.6586, allocations: 8 kB / 0.9259 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.6587, allocations: 15.98 kB / 0.9259 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.6587, allocations: 15.98 kB / 0.9259 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000117/0.6588, allocations: 148.3 kB / 0.926 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6588, allocations: 0 / 0.926 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004637/0.6593, allocations: 119.9 kB / 0.9262 GB, free: 14.58 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.6603, allocations: 0.9895 MB / 0.9271 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.6607, allocations: 215.5 kB / 0.9273 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6607, allocations: 4 kB / 0.9273 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.6609, allocations: 99.88 kB / 0.9274 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.6614, allocations: 96.72 kB / 0.9275 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.6643, allocations: 2.494 MB / 0.93 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.6646, allocations: 0.7367 MB / 0.9307 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002248/0.6648, allocations: 62.19 kB / 0.9307 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.6649, allocations: 51.42 kB / 0.9308 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of SimCode: time 2.3e-07/0.6649, allocations: 4 kB / 0.9308 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.6905, allocations: 7.828 MB / 0.9384 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/8.167, allocations: 12.06 kB / 0.9384 GB, free: 1.941 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)