Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.0007964/0.0007964, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001158/0.001158, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9447/0.9447, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5708/0.5708, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5541 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.427e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005125/0.005149, allocations: 3.894 MB / 0.558 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.005292, allocations: 143.4 kB / 0.5581 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.005319, allocations: 0 / 0.5581 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.005447, allocations: 7.922 kB / 0.5581 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.005536, allocations: 11.92 kB / 0.5581 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.005876, allocations: 94.41 kB / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.005972, allocations: 35.84 kB / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.006019, allocations: 0 / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.006173, allocations: 23.92 kB / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.006257, allocations: 11.97 kB / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.006273, allocations: 4 kB / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.006457, allocations: 47.77 kB / 0.5583 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.006508, allocations: 15.97 kB / 0.5583 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.006528, allocations: 4 kB / 0.5583 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.006652, allocations: 67.8 kB / 0.5584 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.006654, allocations: 0 / 0.5584 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006655, allocations: 0 / 0.5584 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.006659, allocations: 0 / 0.5584 GB, free: 14.45 MB / 0.5261 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.0003518/0.007011, allocations: 258.3 kB / 0.5586 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.007059, allocations: 8.625 kB / 0.5587 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.007092, allocations: 38.73 kB / 0.5587 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.007126, allocations: 8.891 kB / 0.5587 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.506e-05/0.007211, allocations: 113.7 kB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.007274, allocations: 51.97 kB / 0.5589 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.007283, allocations: 8.375 kB / 0.5589 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.0074, allocations: 67.95 kB / 0.5589 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.007408, allocations: 3.938 kB / 0.5589 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.007418, allocations: 0 / 0.5589 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.007438, allocations: 4 kB / 0.5589 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.007479, allocations: 15.92 kB / 0.559 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.00787, allocations: 224 kB / 0.5592 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.5e-05/0.007905, allocations: 18.52 kB / 0.5592 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.007921, allocations: 16.91 kB / 0.5592 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.007965, allocations: 8 kB / 0.5592 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.007991, allocations: 34.56 kB / 0.5592 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.007992, allocations: 0 / 0.5592 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001652/0.008158, allocations: 29.7 kB / 0.5593 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.00819, allocations: 59.33 kB / 0.5593 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.008258, allocations: 105.8 kB / 0.5594 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.00827, allocations: 25.7 kB / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.008311, allocations: 84.09 kB / 0.5595 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.008319, allocations: 15.94 kB / 0.5595 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.008345, allocations: 13.72 kB / 0.5596 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.008425, allocations: 315 kB / 0.5599 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.008437, allocations: 8 kB / 0.5599 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.008457, allocations: 17.7 kB / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.008485, allocations: 21.66 kB / 0.5599 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.008487, allocations: 0 / 0.5599 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.061e-05/0.008538, allocations: 53.56 kB / 0.56 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.00855, allocations: 6.5 kB / 0.56 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008554, allocations: 0 / 0.56 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.008566, allocations: 64 / 0.56 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.842e-05/0.008604, allocations: 16 kB / 0.56 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.00861, allocations: 0 / 0.56 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.008622, allocations: 0 / 0.56 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.008631, allocations: 4 kB / 0.56 GB, free: 12.61 MB / 0.5261 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 6.552e-05/0.008696, allocations: 117.7 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.008711, allocations: 7.953 kB / 0.5601 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.008806, allocations: 113 kB / 0.5602 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.016e-05/0.008867, allocations: 184.3 kB / 0.5604 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.198e-05/0.008919, allocations: 184.2 kB / 0.5606 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.017e-05/0.008969, allocations: 180.3 kB / 0.5607 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.009131, allocations: 388.2 kB / 0.5611 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/0.009155, allocations: 105 kB / 0.5612 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.009187, allocations: 104.9 kB / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.004e-05/0.009237, allocations: 176.3 kB / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002889/0.009525, allocations: 184.2 kB / 0.5616 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.214e-05/0.009568, allocations: 180.2 kB / 0.5618 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.053e-05/0.009608, allocations: 184.5 kB / 0.562 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.009716, allocations: 307.7 kB / 0.5623 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.009746, allocations: 105 kB / 0.5624 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.009798, allocations: 188.2 kB / 0.5626 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.009898, allocations: 113 kB / 0.5627 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.009945, allocations: 180.2 kB / 0.5629 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.009973, allocations: 105 kB / 0.563 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.01002, allocations: 91.27 kB / 0.563 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 0.563 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001732/0.01019, allocations: 15.94 kB / 0.5631 GB, free: 9.262 MB / 0.5261 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.000337/0.01053, allocations: 0.8245 MB / 0.5639 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.725e-05/0.0106, allocations: 8 kB / 0.5639 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01061, allocations: 4.125 kB / 0.5639 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.01061, allocations: 0 / 0.5639 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.01097, allocations: 459.6 kB / 0.5643 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.01182, allocations: 1.339 MB / 0.5656 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.01188, allocations: 59.34 kB / 0.5657 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.01193, allocations: 12 kB / 0.5657 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.01196, allocations: 12.5 kB / 0.5657 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.01196, allocations: 0 / 0.5657 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.02851, allocations: 2.163 MB / 0.5678 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.381, allocations: 11.56 kB / 0.5678 GB, free: 4.387 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.979130445048213] Failed to read output from testmodel.py, exit status != 0: 7.461761652491987 7.475124233 7.465743728 Calling exit ...