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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 211.7 kB / 23.02 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002451/0.002451, allocations: 285.8 kB / 313.5 MB, free: 2.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.173/1.173, allocations: 180.6 MB / 0.5377 GB, free: 14.39 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 103.8 kB / 0.7402 GB, free: 28.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1653, allocations: 95.38 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005344/0.1706, allocations: 3.625 MB / 0.8369 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001973/0.1708, allocations: 151.5 kB / 0.8371 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.1708, allocations: 0 / 0.8371 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.144e-05/0.1709, allocations: 3.984 kB / 0.8371 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.171, allocations: 11.92 kB / 0.8371 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1713, allocations: 92.36 kB / 0.8372 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.1714, allocations: 35.8 kB / 0.8372 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.1714, allocations: 0 / 0.8372 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.1714, allocations: 23.97 kB / 0.8372 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.1715, allocations: 7.938 kB / 0.8372 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.1715, allocations: 0 / 0.8372 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/0.172, allocations: 215.6 kB / 0.8374 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.1721, allocations: 11.92 kB / 0.8375 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1721, allocations: 11.98 kB / 0.8375 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1723, allocations: 55.86 kB / 0.8375 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1723, allocations: 3.938 kB / 0.8375 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1723, allocations: 0 / 0.8375 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.1723, allocations: 4 kB / 0.8375 GB, free: 4.055 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.0003669/0.1726, allocations: 254.3 kB / 0.8378 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1727, allocations: 9.938 kB / 0.8378 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.229e-05/0.1727, allocations: 4.188 kB / 0.8378 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1727, allocations: 30.75 kB / 0.8378 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1727, allocations: 4.938 kB / 0.8378 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1728, allocations: 118.4 kB / 0.8379 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.1729, allocations: 59.95 kB / 0.838 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1729, allocations: 7.875 kB / 0.838 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1731, allocations: 67.39 kB / 0.8381 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1731, allocations: 0 / 0.8381 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1731, allocations: 0 / 0.8381 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1731, allocations: 0 / 0.8381 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/0.1731, allocations: 19.98 kB / 0.8381 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.1735, allocations: 228 kB / 0.8383 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.172e-05/0.1735, allocations: 22.52 kB / 0.8383 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.1736, allocations: 4.859 kB / 0.8383 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.1736, allocations: 12.05 kB / 0.8383 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1736, allocations: 34.56 kB / 0.8384 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1736, allocations: 0 / 0.8384 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.1738, allocations: 33.7 kB / 0.8384 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.1738, allocations: 55.34 kB / 0.8385 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.1739, allocations: 105.8 kB / 0.8386 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1739, allocations: 25.7 kB / 0.8386 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.174, allocations: 88.22 kB / 0.8387 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.174, allocations: 3.953 kB / 0.8387 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.174, allocations: 21.7 kB / 0.8387 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1741, allocations: 318.8 kB / 0.839 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.1741, allocations: 0 / 0.839 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.1742, allocations: 17.72 kB / 0.839 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.1742, allocations: 21.7 kB / 0.839 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1742, allocations: 0 / 0.839 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.779e-05/0.1743, allocations: 57.56 kB / 0.8391 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1743, allocations: 8 kB / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1743, allocations: 0 / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1743, allocations: 0 / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.014e-05/0.1743, allocations: 4 kB / 0.8391 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1743, allocations: 4 kB / 0.8391 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.1744, allocations: 4 kB / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1744, allocations: 3.938 kB / 0.8391 GB, free: 2.219 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 7.739e-05/0.1744, allocations: 118.4 kB / 0.8392 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.1745, allocations: 0 / 0.8392 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.1746, allocations: 123 kB / 0.8393 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-05/0.1747, allocations: 180.2 kB / 0.8395 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.162e-05/0.1747, allocations: 184.3 kB / 0.8397 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-05/0.1748, allocations: 180.5 kB / 0.8399 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.175, allocations: 380.2 kB / 0.8402 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.554e-05/0.1751, allocations: 105 kB / 0.8403 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.1751, allocations: 112.9 kB / 0.8404 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.633e-05/0.1752, allocations: 180.2 kB / 0.8406 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.1753, allocations: 180.2 kB / 0.8408 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-05/0.1754, allocations: 184.2 kB / 0.8409 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-05/0.1755, allocations: 180.3 kB / 0.8411 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1756, allocations: 315.6 kB / 0.8414 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.1757, allocations: 105 kB / 0.8415 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/0.1758, allocations: 184.1 kB / 0.8417 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1759, allocations: 113 kB / 0.8418 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.176, allocations: 184.2 kB / 0.842 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.1761, allocations: 101 kB / 0.8421 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.1761, allocations: 87.2 kB / 0.8422 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1761, allocations: 0 / 0.8422 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002537/0.1764, allocations: 16 kB / 0.8422 GB, free: 14.89 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.0004905/0.1769, allocations: 0.8243 MB / 0.843 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.241e-05/0.1769, allocations: 15.98 kB / 0.843 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.177, allocations: 0 / 0.843 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.177, allocations: 0 / 0.843 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.1774, allocations: 470.1 kB / 0.8434 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1785, allocations: 1.325 MB / 0.8447 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.428e-05/0.1785, allocations: 55.36 kB / 0.8448 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.1785, allocations: 8.125 kB / 0.8448 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1786, allocations: 11.42 kB / 0.8448 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1786, allocations: 0 / 0.8448 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.1998, allocations: 1.699 MB / 0.8465 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.85, allocations: 21.27 kB / 0.8465 GB, free: 10.5 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.859796112054028] Failed to read output from testmodel.py, exit status != 0: 11.006756051909178 11.023131983 10.847738844 Calling exit ...