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.0008084/0.0008084, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009686/0.0009686, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8787/0.8787, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001374/0.001374, allocations: 237.1 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.6308/0.6308, allocations: 138.4 MB / 454.3 MB, free: 1.645 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.563e-06/1.563e-06, allocations: 0 / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.116e-05, allocations: 12.27 kB / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003748/0.003769, allocations: 3.61 MB / 0.6498 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.003906, allocations: 138.4 kB / 0.6499 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.00393, allocations: 0 / 0.6499 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.004037, allocations: 9.078 kB / 0.6499 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.357e-05/0.004111, allocations: 18.11 kB / 0.65 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.004449, allocations: 84.48 kB / 0.65 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.004549, allocations: 37.62 kB / 0.6501 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.004595, allocations: 1.344 kB / 0.6501 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.004654, allocations: 19.14 kB / 0.6501 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.004732, allocations: 17.75 kB / 0.6501 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.004747, allocations: 1.156 kB / 0.6501 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005575/0.005304, allocations: 212.8 kB / 0.6503 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.005349, allocations: 2.562 kB / 0.6503 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.005373, allocations: 9.734 kB / 0.6503 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.005503, allocations: 67.23 kB / 0.6504 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.00551, allocations: 1.5 kB / 0.6504 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005512, allocations: 0 / 0.6504 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.005516, allocations: 0 / 0.6504 GB, free: 25.84 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.0002934/0.005809, allocations: 259 kB / 0.6506 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.005851, allocations: 11.31 kB / 0.6507 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.146e-05/0.005873, allocations: 34.75 kB / 0.6507 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.005903, allocations: 2.312 kB / 0.6507 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.404e-05/0.005957, allocations: 108.4 kB / 0.6508 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.006015, allocations: 57.31 kB / 0.6509 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.006023, allocations: 1.719 kB / 0.6509 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.006132, allocations: 73.34 kB / 0.6509 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.006139, allocations: 7.875 kB / 0.6509 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.006149, allocations: 1.375 kB / 0.6509 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.006168, allocations: 1.406 kB / 0.6509 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.006203, allocations: 20.06 kB / 0.651 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.006532, allocations: 225.2 kB / 0.6512 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.006567, allocations: 23.7 kB / 0.6512 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.062e-05/0.006577, allocations: 6.203 kB / 0.6512 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.006622, allocations: 9.969 kB / 0.6512 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.006639, allocations: 36.02 kB / 0.6512 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.00664, allocations: 0 / 0.6512 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.006767, allocations: 31.86 kB / 0.6513 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.006787, allocations: 60.53 kB / 0.6513 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.006835, allocations: 100.5 kB / 0.6514 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.006842, allocations: 29.83 kB / 0.6515 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.006869, allocations: 93.19 kB / 0.6515 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-06/0.006874, allocations: 5.203 kB / 0.6515 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.006896, allocations: 13.28 kB / 0.6516 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.884e-05/0.006925, allocations: 320 kB / 0.6519 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.006938, allocations: 2.906 kB / 0.6519 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.006953, allocations: 13.47 kB / 0.6519 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.006978, allocations: 25.06 kB / 0.6519 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00698, allocations: 0 / 0.6519 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.744e-05/0.007027, allocations: 54.72 kB / 0.652 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.007042, allocations: 5.938 kB / 0.652 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.007047, allocations: 0 / 0.652 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.007059, allocations: 1.406 kB / 0.652 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.007099, allocations: 9.141 kB / 0.652 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.007103, allocations: 0 / 0.652 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.007116, allocations: 5.75 kB / 0.652 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.007125, allocations: 1.844 kB / 0.652 GB, free: 24.14 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 3.91e-05/0.007164, allocations: 116.2 kB / 0.6521 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.007179, allocations: 1.844 kB / 0.6521 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.007255, allocations: 131.9 kB / 0.6522 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.007267, allocations: 178 kB / 0.6524 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.007283, allocations: 182 kB / 0.6526 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.007295, allocations: 176.3 kB / 0.6527 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.744e-05/0.007383, allocations: 389.5 kB / 0.6531 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.007389, allocations: 101 kB / 0.6532 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.007397, allocations: 102.8 kB / 0.6533 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.00741, allocations: 186 kB / 0.6535 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.007425, allocations: 180.3 kB / 0.6536 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/0.007441, allocations: 186 kB / 0.6538 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-05/0.007455, allocations: 182 kB / 0.654 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.718e-05/0.007502, allocations: 312.8 kB / 0.6543 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.007521, allocations: 106.5 kB / 0.6544 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.007545, allocations: 182 kB / 0.6546 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.007627, allocations: 108.6 kB / 0.6547 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.007645, allocations: 182 kB / 0.6548 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.007653, allocations: 102.8 kB / 0.6549 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.252e-05/0.007676, allocations: 84.66 kB / 0.655 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007676, allocations: 0 / 0.655 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001798/0.007855, allocations: 15.5 kB / 0.655 GB, free: 20.87 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.0002028/0.008058, allocations: 0.8372 MB / 0.6559 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.411e-05/0.008122, allocations: 15.11 kB / 0.6559 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008124, allocations: 0 / 0.6559 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.008125, allocations: 0 / 0.6559 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.008394, allocations: 457.2 kB / 0.6563 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.008914, allocations: 1.331 MB / 0.6576 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.035e-05/0.008945, allocations: 64.34 kB / 0.6577 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.604e-05/0.008981, allocations: 5.047 kB / 0.6577 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.009004, allocations: 9.594 kB / 0.6577 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.009005, allocations: 1.125 kB / 0.6577 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.02488, allocations: 2.186 MB / 0.6598 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.204/6.229, allocations: 1.281 kB / 0.6598 GB, free: 16.75 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 & /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: 8.857086113654077] Failed to read output from testmodel.py, exit status != 0: 6.3057233756408095 6.3124723099999995 6.30557833 Calling exit ...