Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.001929/0.001929, allocations: 99.22 kB / 16.4 MB, free: 6.461 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.00219/0.00219, allocations: 196 kB / 17.34 MB, free: 5.715 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9177/0.9177, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.001931, allocations: 63.91 kB / 0.5736 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1437, allocations: 78.86 MB / 0.6506 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirProperties): time 0.5046/0.6483, allocations: 149.1 MB / 0.7962 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.6519, allocations: 3.616 MB / 0.7997 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.6521, allocations: 3.938 kB / 0.7997 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.6524, allocations: 66.36 kB / 0.7998 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.6528, allocations: 132.7 kB / 0.7999 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.6552, allocations: 1.01 MB / 0.8009 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.6556, allocations: 324.4 kB / 0.8012 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.6557, allocations: 10.22 kB / 0.8012 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.6561, allocations: 192.8 kB / 0.8014 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.6563, allocations: 132.5 kB / 0.8015 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.6563, allocations: 11.47 kB / 0.8015 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.6584, allocations: 1.223 MB / 0.8027 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.6585, allocations: 63.58 kB / 0.8028 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.6586, allocations: 108.8 kB / 0.8029 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.6599, allocations: 0.6361 MB / 0.8035 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6599, allocations: 0 / 0.8035 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6599, allocations: 0 / 0.8035 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.6599, allocations: 0 / 0.8035 GB, free: 12.09 MB / 0.5919 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.001197/0.6611, allocations: 0.5949 MB / 0.8041 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.6612, allocations: 14.5 kB / 0.8041 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.6612, allocations: 56.08 kB / 0.8042 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.6624, allocations: 137.3 kB / 0.8043 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.6627, allocations: 230.2 kB / 0.8045 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.6628, allocations: 20.78 kB / 0.8045 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.6628, allocations: 18.94 kB / 0.8045 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.6634, allocations: 340.4 kB / 0.8049 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6634, allocations: 0 / 0.8049 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.6634, allocations: 9.781 kB / 0.8049 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.6635, allocations: 19.53 kB / 0.8049 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.6639, allocations: 320.6 kB / 0.8052 GB, free: 11.25 MB / 0.5919 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.001588/0.6655, allocations: 1.113 MB / 0.8063 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.666, allocations: 185.2 kB / 0.8065 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.6661, allocations: 86.33 kB / 0.8065 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005605/0.6667, allocations: 459.8 kB / 0.807 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.6668, allocations: 45.97 kB / 0.807 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.6668, allocations: 0 / 0.807 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.0006401/0.6674, allocations: 262.4 kB / 0.8073 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.6675, allocations: 51.52 kB / 0.8073 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.6676, allocations: 211.6 kB / 0.8075 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.6677, allocations: 31.17 kB / 0.8076 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.6678, allocations: 144.3 kB / 0.8077 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.6679, allocations: 81.73 kB / 0.8078 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.668, allocations: 54.94 kB / 0.8078 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6681, allocations: 331.6 kB / 0.8081 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.6682, allocations: 68.8 kB / 0.8082 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.6684, allocations: 170.1 kB / 0.8084 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.6687, allocations: 242.4 kB / 0.8086 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6688, allocations: 2.156 kB / 0.8086 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005021/0.6693, allocations: 288.8 kB / 0.8089 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6693, allocations: 4.844 kB / 0.8089 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6693, allocations: 3.812 kB / 0.8089 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6693, allocations: 9.438 kB / 0.8089 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.6696, allocations: 59.08 kB / 0.809 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6696, allocations: 4.75 kB / 0.809 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.6698, allocations: 37.64 kB / 0.809 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.6699, allocations: 13.41 kB / 0.809 GB, free: 8.84 MB / 0.5919 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.0001327/0.67, allocations: 140.2 kB / 0.8091 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.6701, allocations: 25.95 kB / 0.8092 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.6706, allocations: 273.4 kB / 0.8094 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6706, allocations: 6.375 kB / 0.8094 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6706, allocations: 0 / 0.8094 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6706, allocations: 1.875 kB / 0.8094 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007056/0.6713, allocations: 0.5901 MB / 0.81 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6713, allocations: 0 / 0.81 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.6715, allocations: 36.73 kB / 0.81 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6715, allocations: 2.688 kB / 0.81 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.6715, allocations: 6.844 kB / 0.8101 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.6716, allocations: 3.984 kB / 0.8101 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6716, allocations: 0 / 0.8101 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.6721, allocations: 353.7 kB / 0.8104 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.6722, allocations: 119.6 kB / 0.8105 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.6723, allocations: 6.5 kB / 0.8105 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.6725, allocations: 14.55 kB / 0.8105 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.6726, allocations: 12.73 kB / 0.8105 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.6726, allocations: 18.2 kB / 0.8106 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001229/0.6727, allocations: 147.6 kB / 0.8107 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6727, allocations: 2.406 kB / 0.8107 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004793/0.6732, allocations: 113.2 kB / 0.8108 GB, free: 7.875 MB / 0.5919 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.001138/0.6744, allocations: 0.9965 MB / 0.8118 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.6747, allocations: 216.9 kB / 0.812 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.6747, allocations: 3.938 kB / 0.812 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.6749, allocations: 107.2 kB / 0.8121 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.6755, allocations: 91.59 kB / 0.8122 GB, free: 7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.6785, allocations: 2.497 MB / 0.8146 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.6789, allocations: 0.741 MB / 0.8153 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002622/0.6792, allocations: 59.16 kB / 0.8154 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.6793, allocations: 57.27 kB / 0.8155 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.6793, allocations: 0 / 0.8155 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.7123, allocations: 7.731 MB / 0.823 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.596/9.308, allocations: 9.453 kB / 0.823 GB, free: 0.5977 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_AirProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe 2>&1)