Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_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.0009218/0.0009219, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001035/0.001035, allocations: 192.7 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.498/1.498, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 70.44 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1589, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.4198/0.5787, allocations: 146.8 MB / 0.9262 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005688/0.5844, allocations: 7.182 MB / 0.9332 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.5846, allocations: 5.656 kB / 0.9332 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.5848, allocations: 56.38 kB / 0.9332 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.5851, allocations: 123.1 kB / 0.9333 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.5868, allocations: 0.924 MB / 0.9343 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.5871, allocations: 493.5 kB / 0.9347 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.5871, allocations: 14.47 kB / 0.9347 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.5874, allocations: 176 kB / 0.9349 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.5876, allocations: 141.1 kB / 0.935 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.5876, allocations: 6.25 kB / 0.935 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.5892, allocations: 1.511 MB / 0.9365 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.5893, allocations: 62.22 kB / 0.9366 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.5894, allocations: 112.5 kB / 0.9367 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.5902, allocations: 0.7225 MB / 0.9374 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5903, allocations: 0.6562 kB / 0.9374 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.61e-07/0.5903, allocations: 2.656 kB / 0.9374 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5903, allocations: 0 / 0.9374 GB, free: 5.766 MB / 0.7325 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.0009829/0.5913, allocations: 0.5782 MB / 0.938 GB, free: 21.33 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.5913, allocations: 10.31 kB / 0.938 GB, free: 21.33 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.5914, allocations: 54.53 kB / 0.938 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.5924, allocations: 136.7 kB / 0.9382 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.5926, allocations: 221.1 kB / 0.9384 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.5926, allocations: 23.62 kB / 0.9384 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.5927, allocations: 19.42 kB / 0.9384 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.5931, allocations: 338.5 kB / 0.9387 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5931, allocations: 1.203 kB / 0.9387 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.5931, allocations: 9.625 kB / 0.9387 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.5932, allocations: 19 kB / 0.9388 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.5936, allocations: 327.4 kB / 0.9391 GB, free: 20.98 MB / 0.7481 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.001271/0.5949, allocations: 1.102 MB / 0.9401 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.5953, allocations: 196.2 kB / 0.9403 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.5954, allocations: 81.11 kB / 0.9404 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/0.5959, allocations: 460.1 kB / 0.9408 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.5959, allocations: 41.08 kB / 0.9409 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.5959, allocations: 0 / 0.9409 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.0005411/0.5965, allocations: 265.8 kB / 0.9411 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.5965, allocations: 51.41 kB / 0.9412 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.5967, allocations: 202.4 kB / 0.9414 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.5967, allocations: 31.7 kB / 0.9414 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.5968, allocations: 148.3 kB / 0.9416 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.5968, allocations: 71.7 kB / 0.9416 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.5969, allocations: 57.22 kB / 0.9417 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.597, allocations: 329.4 kB / 0.942 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.5971, allocations: 70.53 kB / 0.9421 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.5972, allocations: 162.7 kB / 0.9422 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.5974, allocations: 251.9 kB / 0.9425 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5974, allocations: 2.625 kB / 0.9425 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004101/0.5979, allocations: 284.6 kB / 0.9427 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.5979, allocations: 6.375 kB / 0.9427 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5979, allocations: 5.953 kB / 0.9427 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.5979, allocations: 10.2 kB / 0.9427 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.5981, allocations: 54.27 kB / 0.9428 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5982, allocations: 6.422 kB / 0.9428 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.5983, allocations: 38.45 kB / 0.9428 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.5984, allocations: 11.2 kB / 0.9429 GB, free: 18.64 MB / 0.7481 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.0001007/0.5985, allocations: 134.8 kB / 0.943 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5986, allocations: 23.19 kB / 0.943 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.599, allocations: 282.3 kB / 0.9433 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.599, allocations: 8.156 kB / 0.9433 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.599, allocations: 0 / 0.9433 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.599, allocations: 7.5 kB / 0.9433 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.5996, allocations: 0.5837 MB / 0.9439 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5996, allocations: 0.6875 kB / 0.9439 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.5998, allocations: 35.84 kB / 0.9439 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5998, allocations: 0 / 0.9439 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5998, allocations: 6.953 kB / 0.9439 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5999, allocations: 1.406 kB / 0.9439 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5999, allocations: 7.656 kB / 0.9439 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.6003, allocations: 347.6 kB / 0.9442 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.6004, allocations: 118.8 kB / 0.9444 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.6004, allocations: 7.016 kB / 0.9444 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.6007, allocations: 16.67 kB / 0.9444 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.6007, allocations: 13.44 kB / 0.9444 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.6007, allocations: 15.64 kB / 0.9444 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001095/0.6008, allocations: 153.8 kB / 0.9446 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6008, allocations: 0 / 0.9446 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003778/0.6012, allocations: 112.2 kB / 0.9447 GB, free: 17.78 MB / 0.7481 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.0008637/0.6021, allocations: 0.9943 MB / 0.9456 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.6024, allocations: 205.6 kB / 0.9458 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6024, allocations: 0 / 0.9458 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.6025, allocations: 105.2 kB / 0.9459 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.6031, allocations: 97.06 kB / 0.946 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.6055, allocations: 2.54 MB / 0.9485 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.6058, allocations: 0.7359 MB / 0.9492 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.6061, allocations: 55.36 kB / 0.9493 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.6062, allocations: 58.5 kB / 0.9493 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.6062, allocations: 0 / 0.9493 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.238/2.844, allocations: 7.275 MB / 0.9564 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/2.844, allocations: 199.3 kB / 0.9566 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/4.931, allocations: 4 kB / 0.9566 GB, free: 13.8 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)