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.0008874/0.0008874, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009379/0.0009379, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8555/0.8555, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001422/0.001422, allocations: 240 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.608/0.608, allocations: 138.4 MB / 454.3 MB, free: 1.652 MB / 362.7 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="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 1.192e-06/1.192e-06, allocations: 3.938 kB / 0.6463 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.528e-06/1.072e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.002821/0.002832, allocations: 3.611 MB / 0.6498 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 9.231e-05/0.002924, allocations: 143.5 kB / 0.6499 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.002942, allocations: 0 / 0.6499 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.146e-05/0.003034, allocations: 5.156 kB / 0.6499 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.003103, allocations: 14.2 kB / 0.65 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.003351, allocations: 89.14 kB / 0.65 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.003416, allocations: 37.22 kB / 0.6501 GB, free: 26 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.00345, allocations: 5.219 kB / 0.6501 GB, free: 26 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.003492, allocations: 15.11 kB / 0.6501 GB, free: 26 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.003548, allocations: 14.47 kB / 0.6501 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.003558, allocations: 5.688 kB / 0.6501 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.003903, allocations: 208.2 kB / 0.6503 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.003937, allocations: 6.188 kB / 0.6503 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.003954, allocations: 12.53 kB / 0.6503 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.004064, allocations: 56.72 kB / 0.6504 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004066, allocations: 4 kB / 0.6504 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004066, allocations: 4 kB / 0.6504 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.00407, allocations: 1.219 kB / 0.6504 GB, free: 25.82 MB / 0.5105 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.0002399/0.00431, allocations: 255.3 kB / 0.6506 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.004344, allocations: 10.31 kB / 0.6507 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.126e-05/0.004365, allocations: 34.75 kB / 0.6507 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.00439, allocations: 3.25 kB / 0.6507 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.371e-05/0.004433, allocations: 110.8 kB / 0.6508 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.004473, allocations: 57.94 kB / 0.6508 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.00448, allocations: 1.438 kB / 0.6508 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.858e-05/0.004568, allocations: 77.77 kB / 0.6509 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.004574, allocations: 3.938 kB / 0.6509 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.004582, allocations: 1.094 kB / 0.6509 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.004597, allocations: 5.109 kB / 0.6509 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.004628, allocations: 8.844 kB / 0.6509 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.004886, allocations: 232.3 kB / 0.6512 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.767e-05/0.004913, allocations: 24.2 kB / 0.6512 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.065e-05/0.004924, allocations: 6.016 kB / 0.6512 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.004959, allocations: 6.781 kB / 0.6512 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.004979, allocations: 36.02 kB / 0.6512 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.004979, allocations: 4 kB / 0.6512 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001069/0.005086, allocations: 35.38 kB / 0.6513 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.401e-05/0.0051, allocations: 52.84 kB / 0.6513 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.759e-05/0.005138, allocations: 107.7 kB / 0.6514 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.005143, allocations: 25.7 kB / 0.6514 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.005164, allocations: 94.31 kB / 0.6515 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.005167, allocations: 3.953 kB / 0.6515 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.005186, allocations: 13.5 kB / 0.6516 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 1.987e-05/0.005206, allocations: 312.1 kB / 0.6519 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.005216, allocations: 10.64 kB / 0.6519 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.005228, allocations: 18.25 kB / 0.6519 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.005249, allocations: 25.38 kB / 0.6519 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005251, allocations: 0 / 0.6519 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.709e-05/0.005288, allocations: 50.44 kB / 0.652 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.005298, allocations: 5.281 kB / 0.652 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005302, allocations: 5.141 kB / 0.652 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.005311, allocations: 0 / 0.652 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.054e-05/0.005341, allocations: 8.984 kB / 0.652 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005346, allocations: 5.344 kB / 0.652 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.12e-05/0.005357, allocations: 5.312 kB / 0.652 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.005364, allocations: 1.406 kB / 0.652 GB, free: 24.11 MB / 0.5105 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 2.868e-05/0.005393, allocations: 116.6 kB / 0.6521 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.005405, allocations: 1.406 kB / 0.6521 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.00546, allocations: 131.2 kB / 0.6522 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.005472, allocations: 177.5 kB / 0.6524 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.005484, allocations: 181.3 kB / 0.6526 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.005495, allocations: 178.7 kB / 0.6527 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.371e-05/0.005568, allocations: 391.8 kB / 0.6531 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.005575, allocations: 102.4 kB / 0.6532 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-06/0.005582, allocations: 102 kB / 0.6533 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.005593, allocations: 181.3 kB / 0.6535 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.005606, allocations: 181.4 kB / 0.6536 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.005618, allocations: 189.4 kB / 0.6538 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.005628, allocations: 178.4 kB / 0.654 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.277e-05/0.005671, allocations: 306.3 kB / 0.6543 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.005682, allocations: 106.4 kB / 0.6544 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.005703, allocations: 185.4 kB / 0.6546 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.005775, allocations: 104.5 kB / 0.6547 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.005792, allocations: 185.6 kB / 0.6548 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.005799, allocations: 106.1 kB / 0.6549 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.778e-05/0.005816, allocations: 84.53 kB / 0.655 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005816, allocations: 0 / 0.655 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001595/0.005976, allocations: 17.62 kB / 0.655 GB, free: 20.84 MB / 0.5105 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.0001485/0.006124, allocations: 0.8206 MB / 0.6558 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.795e-05/0.006172, allocations: 18.09 kB / 0.6559 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.006174, allocations: 1.344 kB / 0.6559 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.006175, allocations: 128 / 0.6559 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.006375, allocations: 466.8 kB / 0.6563 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.006802, allocations: 1.332 MB / 0.6576 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.554e-05/0.006828, allocations: 60.53 kB / 0.6577 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.006856, allocations: 3.625 kB / 0.6577 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.006874, allocations: 10.94 kB / 0.6577 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of SimCode: time 3.7e-07/0.006875, allocations: 4 kB / 0.6577 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.01978, allocations: 2.182 MB / 0.6598 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.354/6.373, allocations: 10.16 kB / 0.6598 GB, free: 16.72 MB / 0.5105 GB " [Timeout remaining time 654] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.028241755440831] Failed to read output from testmodel.py, exit status != 0: 6.4502979433164 6.457193662 6.451786596 Calling exit ...