Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001342/0.001342, 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.001584/0.001584, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9254/0.9254, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5791/0.5791, allocations: 114 MB / 373.9 MB, free: 8.73 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5542 GB, free: 1.742 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.939e-05, allocations: 4.812 kB / 0.5542 GB, free: 1.738 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005627/0.005647, allocations: 3.657 MB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001964/0.005843, allocations: 139.5 kB / 0.5579 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.005866, allocations: 0 / 0.5579 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.005975, allocations: 3.984 kB / 0.5579 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.006059, allocations: 23.8 kB / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.006447, allocations: 79.67 kB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.023e-05/0.006538, allocations: 39.84 kB / 0.558 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.006584, allocations: 8 kB / 0.558 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.006649, allocations: 23.92 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.006731, allocations: 11.97 kB / 0.5581 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.006745, allocations: 0 / 0.5581 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005253/0.007271, allocations: 183.3 kB / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.007317, allocations: 7.984 kB / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.007347, allocations: 11.98 kB / 0.5582 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.007507, allocations: 63.8 kB / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.007509, allocations: 4 kB / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00751, allocations: 0 / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.007515, allocations: 0 / 0.5583 GB, free: 13.48 MB / 490.7 MB 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.0003646/0.007879, allocations: 255.2 kB / 0.5586 GB, free: 13.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.007923, allocations: 12.62 kB / 0.5586 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.007959, allocations: 30.75 kB / 0.5586 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.007992, allocations: 4.938 kB / 0.5586 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/0.008086, allocations: 117.7 kB / 0.5587 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/0.00816, allocations: 51.97 kB / 0.5588 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.008168, allocations: 384 / 0.5588 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.008314, allocations: 75.94 kB / 0.5588 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.008324, allocations: 3.938 kB / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.008334, allocations: 0 / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.008354, allocations: 3.938 kB / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.008404, allocations: 19.98 kB / 0.5589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.008819, allocations: 228 kB / 0.5591 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.841e-05/0.008867, allocations: 14.58 kB / 0.5591 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.008882, allocations: 4.922 kB / 0.5591 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.008943, allocations: 11.98 kB / 0.5591 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.008973, allocations: 38.5 kB / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.008974, allocations: 4 kB / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001589/0.009133, allocations: 33.7 kB / 0.5592 GB, free: 12.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.009166, allocations: 51.41 kB / 0.5592 GB, free: 12.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.009257, allocations: 105.8 kB / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.009271, allocations: 25.7 kB / 0.5594 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.009316, allocations: 84.09 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.009322, allocations: 3.953 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.00935, allocations: 17.72 kB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.009427, allocations: 318.8 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.009438, allocations: 128 / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.009459, allocations: 29.84 kB / 0.5598 GB, free: 11.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.009487, allocations: 29.58 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009489, allocations: 0 / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.628e-05/0.009546, allocations: 45.73 kB / 0.5599 GB, free: 11.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.00956, allocations: 8 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.009566, allocations: 3.984 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.009579, allocations: 3.984 kB / 0.5599 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.878e-05/0.009617, allocations: 7.938 kB / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.009624, allocations: 8.062 kB / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.009637, allocations: 0 / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.009646, allocations: 0 / 0.5599 GB, free: 11.64 MB / 490.7 MB 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.472e-05/0.009701, allocations: 117.8 kB / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.009714, allocations: 3.953 kB / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.39e-05/0.009808, allocations: 124.9 kB / 0.5601 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.102e-05/0.009849, allocations: 176.3 kB / 0.5603 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-05/0.009892, allocations: 184.3 kB / 0.5605 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-05/0.009932, allocations: 180.2 kB / 0.5606 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01008, allocations: 380.2 kB / 0.561 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/0.01011, allocations: 108.9 kB / 0.5611 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.01014, allocations: 105 kB / 0.5612 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.142e-05/0.01018, allocations: 180.2 kB / 0.5614 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.01038, allocations: 180.2 kB / 0.5616 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.92e-05/0.01042, allocations: 180.3 kB / 0.5617 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.215e-05/0.01046, allocations: 180.2 kB / 0.5619 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.93e-05/0.01056, allocations: 315.8 kB / 0.5622 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.01059, allocations: 104.9 kB / 0.5623 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.01064, allocations: 176.3 kB / 0.5625 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.01074, allocations: 116.9 kB / 0.5626 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.01078, allocations: 184.3 kB / 0.5628 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.01081, allocations: 105 kB / 0.5629 GB, free: 8.398 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.01084, allocations: 83.22 kB / 0.5629 GB, free: 8.316 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01084, allocations: 0 / 0.5629 GB, free: 8.316 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.01101, allocations: 15.98 kB / 0.5629 GB, free: 8.301 MB / 490.7 MB 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.0002939/0.01131, allocations: 0.8246 MB / 0.5638 GB, free: 7.449 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.784e-05/0.01136, allocations: 15.86 kB / 0.5638 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01137, allocations: 0 / 0.5638 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.01137, allocations: 128 / 0.5638 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.01166, allocations: 467.7 kB / 0.5642 GB, free: 6.973 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.01235, allocations: 1.324 MB / 0.5655 GB, free: 5.559 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.01238, allocations: 59.36 kB / 0.5656 GB, free: 5.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.849e-05/0.01241, allocations: 8 kB / 0.5656 GB, free: 5.473 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.01244, allocations: 12.48 kB / 0.5656 GB, free: 5.461 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01244, allocations: 4 kB / 0.5656 GB, free: 5.457 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.02759, allocations: 2.184 MB / 0.5677 GB, free: 3.461 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.306, allocations: 6.922 kB / 0.5677 GB, free: 3.457 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.830529973842204] Failed to read output from testmodel.py, exit status != 0: 7.386335100978613 7.398246975 7.388492998 Calling exit ...