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.001232/0.001232, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002096, allocations: 282.7 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9079/0.9079, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001776, allocations: 105.8 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1298, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4015/0.5313, allocations: 149.1 MB / 0.8259 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.5344, allocations: 3.619 MB / 0.8294 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.5345, allocations: 1.438 kB / 0.8294 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.5347, allocations: 65.42 kB / 0.8295 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.535, allocations: 133.7 kB / 0.8296 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.5366, allocations: 1.004 MB / 0.8306 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.5368, allocations: 322.2 kB / 0.8309 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.5369, allocations: 16.84 kB / 0.8309 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.5372, allocations: 190.8 kB / 0.8311 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.5373, allocations: 133.3 kB / 0.8312 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.5373, allocations: 10.59 kB / 0.8312 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.5388, allocations: 1.218 MB / 0.8324 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.5389, allocations: 71.5 kB / 0.8325 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.539, allocations: 108.5 kB / 0.8326 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000787/0.5398, allocations: 0.6362 MB / 0.8332 GB, free: 444 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5398, allocations: 0 / 0.8332 GB, free: 444 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5398, allocations: 1.125 kB / 0.8332 GB, free: 444 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5399, allocations: 0 / 0.8332 GB, free: 444 kB / 0.5606 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.0009042/0.5408, allocations: 0.5816 MB / 0.8338 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5408, allocations: 14.52 kB / 0.8338 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.5409, allocations: 59.11 kB / 0.8338 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.5419, allocations: 134.6 kB / 0.834 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.5421, allocations: 226.3 kB / 0.8342 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5421, allocations: 22.12 kB / 0.8342 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.5422, allocations: 15.72 kB / 0.8342 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.5426, allocations: 333.9 kB / 0.8345 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5426, allocations: 5.219 kB / 0.8345 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.5427, allocations: 10.47 kB / 0.8345 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.5427, allocations: 13.12 kB / 0.8346 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.5432, allocations: 329.4 kB / 0.8349 GB, free: 15.62 MB / 0.5762 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.001311/0.5445, allocations: 1.111 MB / 0.836 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.5449, allocations: 188.1 kB / 0.8361 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.5451, allocations: 81.88 kB / 0.8362 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/0.5455, allocations: 459.6 kB / 0.8366 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.5456, allocations: 43.84 kB / 0.8367 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.412e-06/0.5456, allocations: 0 / 0.8367 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0005781/0.5462, allocations: 265.3 kB / 0.8369 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.5462, allocations: 53.66 kB / 0.837 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.5464, allocations: 205.2 kB / 0.8372 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.5464, allocations: 27.02 kB / 0.8372 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.5465, allocations: 148.1 kB / 0.8374 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.5465, allocations: 69.39 kB / 0.8374 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.761e-05/0.5466, allocations: 59.98 kB / 0.8375 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.5467, allocations: 327.5 kB / 0.8378 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.5468, allocations: 70.64 kB / 0.8379 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.547, allocations: 169 kB / 0.838 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.5472, allocations: 241.3 kB / 0.8383 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5473, allocations: 1.469 kB / 0.8383 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004476/0.5477, allocations: 289.4 kB / 0.8385 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5477, allocations: 7.312 kB / 0.8385 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5477, allocations: 2.25 kB / 0.8385 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5478, allocations: 9 kB / 0.8385 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.548, allocations: 58.62 kB / 0.8386 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.548, allocations: 7.078 kB / 0.8386 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.5482, allocations: 31.06 kB / 0.8386 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.5482, allocations: 15.25 kB / 0.8387 GB, free: 13.22 MB / 0.5762 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.0001056/0.5484, allocations: 135.9 kB / 0.8388 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5485, allocations: 25.88 kB / 0.8388 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.5489, allocations: 277.9 kB / 0.8391 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5489, allocations: 6.312 kB / 0.8391 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5489, allocations: 3.828 kB / 0.8391 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5489, allocations: 7.938 kB / 0.8391 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.5496, allocations: 0.5824 MB / 0.8397 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5496, allocations: 0 / 0.8397 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.5498, allocations: 38.75 kB / 0.8397 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5498, allocations: 1.031 kB / 0.8397 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5498, allocations: 7.906 kB / 0.8397 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5498, allocations: 2.219 kB / 0.8397 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5498, allocations: 7.469 kB / 0.8397 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.5503, allocations: 349.6 kB / 0.84 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5504, allocations: 119.5 kB / 0.8402 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.5504, allocations: 4.75 kB / 0.8402 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.5506, allocations: 15.89 kB / 0.8402 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.5507, allocations: 15.89 kB / 0.8402 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.5507, allocations: 18.36 kB / 0.8402 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001101/0.5508, allocations: 151.2 kB / 0.8404 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5508, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004139/0.5513, allocations: 120.5 kB / 0.8405 GB, free: 12.32 MB / 0.5762 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.0008915/0.5522, allocations: 0.9949 MB / 0.8414 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.5525, allocations: 223.4 kB / 0.8417 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5525, allocations: 1.344 kB / 0.8417 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.5526, allocations: 101.2 kB / 0.8418 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.5532, allocations: 101.1 kB / 0.8419 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.5556, allocations: 2.491 MB / 0.8443 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.5559, allocations: 0.742 MB / 0.845 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.5561, allocations: 56.34 kB / 0.8451 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.5562, allocations: 54.98 kB / 0.8451 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.5562, allocations: 3.938 kB / 0.8451 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9507/1.507, allocations: 7.684 MB / 0.8526 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.85, allocations: 9.812 kB / 0.8526 GB, free: 5.215 MB / 0.5762 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)