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.001155/0.001155, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001156/0.001156, allocations: 199.1 kB / 17.34 MB, free: 5.762 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.655/1.655, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7989/0.7989, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.94 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1979, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirProperties): time 0.6487/0.8466, allocations: 149.1 MB / 0.7772 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004181/0.8508, allocations: 3.617 MB / 0.7807 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.851, allocations: 1.156 kB / 0.7807 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.8514, allocations: 66.16 kB / 0.7808 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.8518, allocations: 131.5 kB / 0.7809 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.8552, allocations: 1.01 MB / 0.7819 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.8558, allocations: 327.6 kB / 0.7822 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.103e-05/0.8559, allocations: 13.78 kB / 0.7822 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.8564, allocations: 189.3 kB / 0.7824 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.8566, allocations: 132.8 kB / 0.7825 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.8567, allocations: 10.66 kB / 0.7826 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.8593, allocations: 1.216 MB / 0.7837 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.8594, allocations: 64.38 kB / 0.7838 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.8595, allocations: 118.1 kB / 0.7839 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.8608, allocations: 0.6346 MB / 0.7845 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8609, allocations: 0 / 0.7845 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8609, allocations: 0 / 0.7845 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8609, allocations: 0 / 0.7845 GB, free: 13.43 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.001255/0.8621, allocations: 0.5886 MB / 0.7851 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.8622, allocations: 11.83 kB / 0.7851 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.8623, allocations: 60.73 kB / 0.7852 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.8635, allocations: 134.5 kB / 0.7853 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.8638, allocations: 219.3 kB / 0.7855 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.8638, allocations: 21.08 kB / 0.7855 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.8639, allocations: 15.91 kB / 0.7856 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.8644, allocations: 343.1 kB / 0.7859 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.8644, allocations: 0 / 0.7859 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.8645, allocations: 10.56 kB / 0.7859 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.8645, allocations: 21.31 kB / 0.7859 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.865, allocations: 326.1 kB / 0.7862 GB, free: 12.61 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.00163/0.8667, allocations: 1.11 MB / 0.7873 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.8672, allocations: 194 kB / 0.7875 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.8673, allocations: 86.14 kB / 0.7876 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.8679, allocations: 458.9 kB / 0.788 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.8679, allocations: 39.44 kB / 0.788 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 1.874e-06/0.868, allocations: 4 kB / 0.7881 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.0006837/0.8686, allocations: 252.6 kB / 0.7883 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.8687, allocations: 53.84 kB / 0.7883 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.8689, allocations: 213.6 kB / 0.7885 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.8689, allocations: 31.95 kB / 0.7886 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.869, allocations: 143.8 kB / 0.7887 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.8691, allocations: 77.53 kB / 0.7888 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.8692, allocations: 48.83 kB / 0.7888 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8693, allocations: 333.7 kB / 0.7892 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.8695, allocations: 77.11 kB / 0.7892 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.8696, allocations: 160.9 kB / 0.7894 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.87, allocations: 247.8 kB / 0.7896 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.87, allocations: 2.281 kB / 0.7896 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000557/0.8705, allocations: 289 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8706, allocations: 8.844 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.8706, allocations: 3.609 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.8706, allocations: 9.781 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.8709, allocations: 56.02 kB / 0.79 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.871, allocations: 6.719 kB / 0.79 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.8713, allocations: 33.22 kB / 0.79 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.8714, allocations: 13.16 kB / 0.79 GB, free: 10.2 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.0001804/0.8716, allocations: 141.2 kB / 0.7902 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.8717, allocations: 21.75 kB / 0.7902 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.8723, allocations: 280.9 kB / 0.7904 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.8724, allocations: 3.938 kB / 0.7904 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.8724, allocations: 2.688 kB / 0.7905 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.8724, allocations: 2.109 kB / 0.7905 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.8735, allocations: 0.5881 MB / 0.791 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.8735, allocations: 2.844 kB / 0.791 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.8738, allocations: 33.48 kB / 0.7911 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.8738, allocations: 7.172 kB / 0.7911 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.8738, allocations: 5.875 kB / 0.7911 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8738, allocations: 3.938 kB / 0.7911 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8739, allocations: 2.125 kB / 0.7911 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.8744, allocations: 349.7 kB / 0.7914 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.8745, allocations: 121.8 kB / 0.7915 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.8746, allocations: 5.25 kB / 0.7915 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.8748, allocations: 15.25 kB / 0.7915 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.8749, allocations: 10.25 kB / 0.7916 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.8749, allocations: 16.25 kB / 0.7916 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001135/0.875, allocations: 158.6 kB / 0.7917 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.875, allocations: 1.094 kB / 0.7917 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005208/0.8756, allocations: 110.9 kB / 0.7918 GB, free: 9.305 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.001093/0.8767, allocations: 0.9929 MB / 0.7928 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.8771, allocations: 207.9 kB / 0.793 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8771, allocations: 4.188 kB / 0.793 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.8772, allocations: 107.3 kB / 0.7931 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.8778, allocations: 98.59 kB / 0.7932 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.8806, allocations: 2.487 MB / 0.7956 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.881, allocations: 0.7313 MB / 0.7963 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.8812, allocations: 58.39 kB / 0.7964 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.8813, allocations: 55.64 kB / 0.7965 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.8814, allocations: 0 / 0.7965 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.9096, allocations: 7.819 MB / 0.8041 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.27, allocations: 272 / 0.8041 GB, free: 3.254 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe 2>&1)