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.001139/0.001139, allocations: 100.1 kB / 15.88 MB, free: 12 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.001173/0.001173, allocations: 205.4 kB / 16.79 MB, free: 6.84 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.3 MB / 406 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.89 kB / 493 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1277, allocations: 76.19 MB / 0.5558 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirProperties): time 0.4063/0.534, allocations: 146.8 MB / 0.6992 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004654/0.5387, allocations: 3.677 MB / 0.7028 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.5388, allocations: 0 / 0.7028 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.5393, allocations: 51.78 kB / 0.7029 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.5397, allocations: 127.3 kB / 0.703 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.5419, allocations: 0.9445 MB / 0.7039 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000596/0.5425, allocations: 495.4 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.5426, allocations: 14.09 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.5429, allocations: 175.3 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.5431, allocations: 143.5 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.5431, allocations: 8 kB / 0.7047 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.5454, allocations: 1.527 MB / 0.7062 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.224e-05/0.5455, allocations: 71.84 kB / 0.7063 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.5458, allocations: 107.5 kB / 0.7064 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.5469, allocations: 0.7384 MB / 0.7071 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5469, allocations: 0 / 0.7071 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5469, allocations: 4 kB / 0.7071 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5469, allocations: 0 / 0.7071 GB, free: 12.15 MB / 0.5294 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.001113/0.548, allocations: 0.5819 MB / 0.7077 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5481, allocations: 8.031 kB / 0.7077 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.5481, allocations: 66.61 kB / 0.7077 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.5494, allocations: 136.5 kB / 0.7079 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.5496, allocations: 232 kB / 0.7081 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5497, allocations: 16.31 kB / 0.7081 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.5497, allocations: 16 kB / 0.7081 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.5502, allocations: 338.3 kB / 0.7084 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5503, allocations: 0 / 0.7084 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.5503, allocations: 8 kB / 0.7084 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.5503, allocations: 19.98 kB / 0.7085 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.5509, allocations: 324.1 kB / 0.7088 GB, free: 10.32 MB / 0.5294 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.001639/0.5525, allocations: 1.109 MB / 0.7099 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.5531, allocations: 190.5 kB / 0.71 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.5532, allocations: 76.81 kB / 0.7101 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/0.5538, allocations: 457.4 kB / 0.7105 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.5539, allocations: 50.48 kB / 0.7106 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 1.522e-06/0.5539, allocations: 0 / 0.7106 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21): time 0.0006775/0.5546, allocations: 255.3 kB / 0.7108 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.5546, allocations: 55.34 kB / 0.7109 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.5548, allocations: 203.1 kB / 0.7111 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.5549, allocations: 33.7 kB / 0.7111 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.555, allocations: 140 kB / 0.7112 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.555, allocations: 78.92 kB / 0.7113 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.5551, allocations: 61.59 kB / 0.7114 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5553, allocations: 326.8 kB / 0.7117 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5554, allocations: 72.22 kB / 0.7118 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.5557, allocations: 168.7 kB / 0.7119 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.556, allocations: 248.8 kB / 0.7122 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5561, allocations: 3.75 kB / 0.7122 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005562/0.5566, allocations: 286.9 kB / 0.7124 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5566, allocations: 8 kB / 0.7124 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5566, allocations: 4 kB / 0.7124 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5567, allocations: 7.938 kB / 0.7125 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.557, allocations: 51.92 kB / 0.7125 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.557, allocations: 7.984 kB / 0.7125 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.5572, allocations: 39.97 kB / 0.7125 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.5572, allocations: 12 kB / 0.7126 GB, free: 6.09 MB / 0.5294 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.0001215/0.5574, allocations: 141.7 kB / 0.7127 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5575, allocations: 27.75 kB / 0.7127 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.558, allocations: 271.5 kB / 0.713 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.558, allocations: 3.938 kB / 0.713 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.558, allocations: 4 kB / 0.713 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.558, allocations: 3.984 kB / 0.713 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000905/0.5589, allocations: 0.5856 MB / 0.7136 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5589, allocations: 0 / 0.7136 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.5592, allocations: 35.92 kB / 0.7136 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5592, allocations: 0 / 0.7136 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.5592, allocations: 8 kB / 0.7136 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5592, allocations: 64 / 0.7136 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5592, allocations: 4 kB / 0.7136 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.5598, allocations: 345.9 kB / 0.7139 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.5599, allocations: 124.7 kB / 0.7141 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.56, allocations: 8 kB / 0.7141 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.5603, allocations: 23.97 kB / 0.7141 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.5603, allocations: 7.984 kB / 0.7141 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.5603, allocations: 16 kB / 0.7141 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001264/0.5605, allocations: 152.3 kB / 0.7143 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5605, allocations: 0 / 0.7143 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004702/0.561, allocations: 112 kB / 0.7144 GB, free: 4.133 MB / 0.5294 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.001252/0.5622, allocations: 0.991 MB / 0.7153 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.5627, allocations: 219.4 kB / 0.7155 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5627, allocations: 0 / 0.7155 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.5629, allocations: 95.89 kB / 0.7156 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.5636, allocations: 97.75 kB / 0.7157 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.5667, allocations: 2.553 MB / 0.7182 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.5672, allocations: 0.7405 MB / 0.7189 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.5675, allocations: 59.12 kB / 0.719 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.5676, allocations: 51.42 kB / 0.719 GB, free: 15.12 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.5676, allocations: 7.938 kB / 0.7191 GB, free: 15.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.5862, allocations: 7.378 MB / 0.7263 GB, free: 7.887 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.5864, allocations: 172.3 kB / 0.7264 GB, free: 7.637 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.574, allocations: 0 / 0.7264 GB, free: 7.637 MB / 0.545 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)