Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 105.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002412/0.002412, allocations: 276.7 kB / 303 MB, free: 3.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 180.9 MB / 0.5262 GB, free: 2.75 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 96.27 kB / 0.7247 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6234, allocations: 94.16 MB / 0.8167 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005372/0.6288, allocations: 3.748 MB / 0.8204 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001916/0.629, allocations: 158.6 kB / 0.8205 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.629, allocations: 0 / 0.8205 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.6291, allocations: 4.75 kB / 0.8205 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.6292, allocations: 18.81 kB / 0.8205 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.6295, allocations: 72.42 kB / 0.8206 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.6296, allocations: 37.02 kB / 0.8206 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.6297, allocations: 3.781 kB / 0.8206 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.6297, allocations: 22.09 kB / 0.8207 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.6298, allocations: 16.73 kB / 0.8207 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.6298, allocations: 1.5 kB / 0.8207 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005431/0.6304, allocations: 190.2 kB / 0.8209 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.6304, allocations: 5.875 kB / 0.8209 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.6304, allocations: 8.906 kB / 0.8209 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.6306, allocations: 39.5 kB / 0.8209 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6306, allocations: 9.312 kB / 0.8209 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6306, allocations: 0 / 0.8209 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.6306, allocations: 0 / 0.8209 GB, free: 4.191 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003639/0.631, allocations: 335.1 kB / 0.8212 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.631, allocations: 9.219 kB / 0.8212 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.631, allocations: 36.03 kB / 0.8213 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.631, allocations: 2.125 kB / 0.8213 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.303e-05/0.6311, allocations: 164.8 kB / 0.8214 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.6312, allocations: 30.98 kB / 0.8215 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.6312, allocations: 9.594 kB / 0.8215 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.6313, allocations: 41.48 kB / 0.8215 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6313, allocations: 1.281 kB / 0.8215 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.6313, allocations: 0 / 0.8215 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.6314, allocations: 1.031 kB / 0.8215 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.6314, allocations: 15.48 kB / 0.8215 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.6317, allocations: 335.3 kB / 0.8219 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.6318, allocations: 28.55 kB / 0.8219 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.6318, allocations: 9.797 kB / 0.8219 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-05/0.6319, allocations: 85.58 kB / 0.822 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.6319, allocations: 31.38 kB / 0.822 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.6319, allocations: 0 / 0.822 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.632, allocations: 43.02 kB / 0.822 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.6321, allocations: 60.53 kB / 0.8221 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.327e-05/0.6321, allocations: 99.64 kB / 0.8222 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.6321, allocations: 26.52 kB / 0.8222 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.6322, allocations: 90.11 kB / 0.8223 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-06/0.6322, allocations: 6 kB / 0.8223 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.6322, allocations: 13.97 kB / 0.8223 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.6323, allocations: 320.3 kB / 0.8226 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.6323, allocations: 1.812 kB / 0.8226 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.6323, allocations: 21.59 kB / 0.8227 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.6323, allocations: 23.75 kB / 0.8227 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6323, allocations: 0 / 0.8227 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.64e-05/0.6324, allocations: 45.89 kB / 0.8227 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.6324, allocations: 5.938 kB / 0.8227 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6324, allocations: 0 / 0.8227 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6324, allocations: 1.094 kB / 0.8227 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.57e-05/0.6325, allocations: 9.688 kB / 0.8227 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6325, allocations: 0 / 0.8227 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.6325, allocations: 9.328 kB / 0.8227 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.6325, allocations: 2.031 kB / 0.8227 GB, free: 2.211 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.449e-05/0.6326, allocations: 119.5 kB / 0.8229 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.6326, allocations: 1.281 kB / 0.8229 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.182e-05/0.6327, allocations: 115.7 kB / 0.823 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.6327, allocations: 192.6 kB / 0.8232 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.6327, allocations: 185 kB / 0.8233 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.6327, allocations: 177.6 kB / 0.8235 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.6329, allocations: 415.5 kB / 0.8239 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.6329, allocations: 105.7 kB / 0.824 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.6329, allocations: 108.9 kB / 0.8241 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.459e-05/0.6329, allocations: 177.5 kB / 0.8243 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.633, allocations: 177.5 kB / 0.8244 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.55e-05/0.6331, allocations: 181.5 kB / 0.8246 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.256e-05/0.6332, allocations: 178 kB / 0.8248 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.6333, allocations: 313.7 kB / 0.8251 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.6334, allocations: 180.9 kB / 0.8253 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6335, allocations: 185.9 kB / 0.8254 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.6337, allocations: 109.5 kB / 0.8255 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.6338, allocations: 186.2 kB / 0.8257 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.6339, allocations: 107 kB / 0.8258 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.6339, allocations: 85.5 kB / 0.8259 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6339, allocations: 0 / 0.8259 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002615/0.6342, allocations: 20.83 kB / 0.8259 GB, free: 14.81 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006667/0.6348, allocations: 0.8357 MB / 0.8267 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.6349, allocations: 11.89 kB / 0.8267 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6349, allocations: 0.7188 kB / 0.8267 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.6349, allocations: 0 / 0.8267 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.6354, allocations: 469.4 kB / 0.8272 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.6366, allocations: 1.325 MB / 0.8285 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.6369, allocations: 0.6749 MB / 0.8291 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.6369, allocations: 8.562 kB / 0.8292 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.6369, allocations: 13.86 kB / 0.8292 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.6369, allocations: 0 / 0.8292 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.666, allocations: 1.54 MB / 0.8307 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.655, allocations: 21.34 kB / 0.8307 GB, free: 11.11 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.666003978345543] Failed to read output from testmodel.py, exit status != 0: 8.724333937745541 8.747470713 8.112285708 Calling exit ...