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.00125/0.00125, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001306/0.001306, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.374/1.374, 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.7817/0.7817, allocations: 122.9 MB / 414 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.17 kB / 0.568 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1361, allocations: 77.94 MB / 0.6441 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirProperties): time 0.4884/0.6245, allocations: 149.1 MB / 0.7897 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003487/0.628, allocations: 3.617 MB / 0.7932 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.6282, allocations: 1.25 kB / 0.7932 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.6286, allocations: 64.98 kB / 0.7933 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.629, allocations: 138.2 kB / 0.7934 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.6318, allocations: 1.03 MB / 0.7944 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005163/0.6324, allocations: 326.6 kB / 0.7947 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.6324, allocations: 14.06 kB / 0.7947 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.6329, allocations: 200.4 kB / 0.7949 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.6332, allocations: 135.4 kB / 0.7951 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.6333, allocations: 9.75 kB / 0.7951 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.6359, allocations: 1.222 MB / 0.7963 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.6361, allocations: 66.27 kB / 0.7963 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.6363, allocations: 116.3 kB / 0.7964 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.6381, allocations: 0.6352 MB / 0.7971 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6381, allocations: 0 / 0.7971 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6381, allocations: 0 / 0.7971 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.6381, allocations: 0 / 0.7971 GB, free: 12.33 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.001294/0.6394, allocations: 0.5984 MB / 0.7976 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6395, allocations: 9.938 kB / 0.7977 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.975e-05/0.6395, allocations: 58.78 kB / 0.7977 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.6409, allocations: 137.8 kB / 0.7978 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.6412, allocations: 221.4 kB / 0.7981 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.6412, allocations: 23 kB / 0.7981 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.6413, allocations: 17.41 kB / 0.7981 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.6418, allocations: 332.1 kB / 0.7984 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6418, allocations: 3.938 kB / 0.7984 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.6419, allocations: 14.59 kB / 0.7984 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.6419, allocations: 16.17 kB / 0.7984 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.6424, allocations: 327.9 kB / 0.7988 GB, free: 11.5 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.001674/0.6441, allocations: 1.111 MB / 0.7998 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.6446, allocations: 189.2 kB / 0.8 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.6448, allocations: 84.66 kB / 0.8001 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.6453, allocations: 460.4 kB / 0.8005 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.6454, allocations: 35.55 kB / 0.8006 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.6454, allocations: 4 kB / 0.8006 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.0006909/0.6461, allocations: 262.2 kB / 0.8008 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.6461, allocations: 54.16 kB / 0.8009 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.6463, allocations: 212.1 kB / 0.8011 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.6464, allocations: 32.14 kB / 0.8011 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.6465, allocations: 140.1 kB / 0.8012 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.6465, allocations: 81.31 kB / 0.8013 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.6466, allocations: 52.53 kB / 0.8014 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6468, allocations: 334.5 kB / 0.8017 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.6469, allocations: 69.7 kB / 0.8018 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.6471, allocations: 166.1 kB / 0.8019 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.6474, allocations: 246.4 kB / 0.8022 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6474, allocations: 0 / 0.8022 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005238/0.648, allocations: 297.1 kB / 0.8024 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.648, allocations: 7.938 kB / 0.8024 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.648, allocations: 2.844 kB / 0.8024 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.648, allocations: 8.844 kB / 0.8025 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.6483, allocations: 56.06 kB / 0.8025 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.6484, allocations: 8.531 kB / 0.8025 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.6486, allocations: 33.89 kB / 0.8025 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.6486, allocations: 13.59 kB / 0.8026 GB, free: 9.082 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.000139/0.6488, allocations: 142.9 kB / 0.8027 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.6489, allocations: 22.34 kB / 0.8027 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.6494, allocations: 275.5 kB / 0.803 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.6494, allocations: 7.094 kB / 0.803 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6494, allocations: 0 / 0.803 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6494, allocations: 2.391 kB / 0.803 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007125/0.6501, allocations: 0.5856 MB / 0.8036 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6501, allocations: 2.188 kB / 0.8036 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.6503, allocations: 33.73 kB / 0.8036 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.6504, allocations: 2.844 kB / 0.8036 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.6504, allocations: 6.125 kB / 0.8036 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6504, allocations: 0 / 0.8036 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6504, allocations: 2.344 kB / 0.8036 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.6509, allocations: 355.8 kB / 0.8039 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.6511, allocations: 125.6 kB / 0.8041 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.6511, allocations: 3.188 kB / 0.8041 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.6514, allocations: 14.19 kB / 0.8041 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.6514, allocations: 17.34 kB / 0.8041 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.6515, allocations: 14.92 kB / 0.8041 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001197/0.6516, allocations: 153.3 kB / 0.8043 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6516, allocations: 0 / 0.8043 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005224/0.6521, allocations: 117 kB / 0.8044 GB, free: 8.184 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.001188/0.6533, allocations: 0.9893 MB / 0.8053 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003877/0.6537, allocations: 207.3 kB / 0.8055 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6537, allocations: 2.375 kB / 0.8055 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.6539, allocations: 103.2 kB / 0.8056 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/0.6545, allocations: 102.4 kB / 0.8057 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.6575, allocations: 2.495 MB / 0.8082 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.6579, allocations: 0.7361 MB / 0.8089 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002683/0.6582, allocations: 58.16 kB / 0.8089 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.6583, allocations: 58.52 kB / 0.809 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.6583, allocations: 0 / 0.809 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.6847, allocations: 7.729 MB / 0.8165 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.717, allocations: 16.84 kB / 0.8166 GB, free: 1.312 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)