Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.0007845/0.0007845, 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.0008821/0.0008821, 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.8558/0.8558, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02805/0.02805, allocations: 7.515 MB / 266.7 MB, free: 6.188 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 391.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.318e-05, allocations: 2.281 kB / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2238/0.2238, allocations: 114.9 MB / 0.4948 GB, free: 24.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06415/0.288, allocations: 98.63 MB / 0.5911 GB, free: 8.191 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005397/0.2885, allocations: 7.938 kB / 0.5912 GB, free: 8.184 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.2909, allocations: 1.247 MB / 0.5924 GB, free: 6.934 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.2936, allocations: 1.598 MB / 0.5939 GB, free: 5.328 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05279/0.3464, allocations: 31.82 MB / 0.625 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001566/0.3479, allocations: 1.429 MB / 0.6264 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3481, allocations: 89.7 kB / 0.6265 GB, free: 3.922 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.2116/0.5597, allocations: 10.3 MB / 0.6365 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.56, allocations: 329.4 kB / 0.6369 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.5601, allocations: 43.78 kB / 0.6369 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.033/0.5931, allocations: 24.74 MB / 0.6611 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.5933, allocations: 125.1 kB / 0.6612 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.5937, allocations: 223.9 kB / 0.6614 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02404/0.6177, allocations: 14.48 MB / 0.6755 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6177, allocations: 0 / 0.6755 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6177, allocations: 3.656 kB / 0.6755 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.6177, allocations: 0 / 0.6755 GB, free: 29.38 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004492/0.6222, allocations: 2.584 MB / 0.6781 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.6223, allocations: 14.97 kB / 0.6781 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.6223, allocations: 88.03 kB / 0.6782 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.6227, allocations: 89.19 kB / 0.6783 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.623, allocations: 280.5 kB / 0.6785 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.6231, allocations: 28.75 kB / 0.6785 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.6231, allocations: 31.81 kB / 0.6786 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.6238, allocations: 0.7666 MB / 0.6793 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6239, allocations: 2.062 kB / 0.6793 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.6239, allocations: 14.47 kB / 0.6793 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.6239, allocations: 18.67 kB / 0.6794 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.6246, allocations: 0.5536 MB / 0.6799 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.6259, allocations: 1.708 MB / 0.6816 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.6265, allocations: 479.1 kB / 0.682 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.6267, allocations: 315.4 kB / 0.6823 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09152/0.7183, allocations: 44.03 MB / 0.7253 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.7183, allocations: 40.78 kB / 0.7254 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.514e-06/0.7183, allocations: 0 / 0.7254 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.003701/0.722, allocations: 2.242 MB / 0.7276 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.722, allocations: 55.41 kB / 0.7276 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.7222, allocations: 256.4 kB / 0.7279 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.7222, allocations: 35.7 kB / 0.7279 GB, free: 12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.7223, allocations: 194.9 kB / 0.7281 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.7224, allocations: 277.2 kB / 0.7283 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.7225, allocations: 96.11 kB / 0.7284 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.7226, allocations: 358.3 kB / 0.7288 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.7229, allocations: 283.3 kB / 0.729 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.7232, allocations: 388.2 kB / 0.7294 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.7238, allocations: 0.7075 MB / 0.7301 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7238, allocations: 0 / 0.7301 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008098/0.7247, allocations: 0.8102 MB / 0.7309 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.7247, allocations: 8.344 kB / 0.7309 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.7247, allocations: 8 kB / 0.7309 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.7248, allocations: 61.11 kB / 0.731 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.7252, allocations: 125.9 kB / 0.7311 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03516/0.7603, allocations: 19.24 MB / 0.7499 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.7606, allocations: 27.84 kB / 0.7499 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.7606, allocations: 19.94 kB / 0.7499 GB, free: 6.805 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.7609, allocations: 193.6 kB / 0.7501 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.7609, allocations: 43.78 kB / 0.7502 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.7623, allocations: 1.707 MB / 0.7518 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.7623, allocations: 25.55 kB / 0.7518 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7623, allocations: 1.438 kB / 0.7518 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000899/0.7632, allocations: 1.277 MB / 0.7531 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.7646, allocations: 1.661 MB / 0.7547 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7646, allocations: 4 kB / 0.7547 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.7648, allocations: 82.72 kB / 0.7548 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.765, allocations: 100 kB / 0.7549 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.765, allocations: 15.55 kB / 0.7549 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008388/0.7658, allocations: 1.888 MB / 0.7567 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7658, allocations: 0 / 0.7567 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.767, allocations: 1.335 MB / 0.7581 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.767, allocations: 43.5 kB / 0.7581 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.767, allocations: 7.938 kB / 0.7581 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.7672, allocations: 35.34 kB / 0.7581 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.7673, allocations: 54.03 kB / 0.7582 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.7673, allocations: 8 kB / 0.7582 GB, free: 4 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001576/0.7674, allocations: 220.6 kB / 0.7584 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.7674, allocations: 0 / 0.7584 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007674/0.7751, allocations: 3.575 MB / 0.7619 GB, free: 12.35 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01317/0.7883, allocations: 6.7 MB / 0.7684 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.7897, allocations: 0.9976 MB / 0.7694 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7897, allocations: 0 / 0.7694 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.7902, allocations: 482.9 kB / 0.7699 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.7913, allocations: 400.8 kB / 0.7703 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00793/0.7992, allocations: 6.295 MB / 0.7764 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.7994, allocations: 253.5 kB / 0.7766 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.7997, allocations: 146.2 kB / 0.7768 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.7999, allocations: 165.9 kB / 0.7769 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/0.7999, allocations: 0 / 0.7769 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3269/1.127, allocations: 135.5 MB / 0.9092 GB, free: 213.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.31, allocations: 8.422 kB / 0.9092 GB, free: 213.1 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.374690758995712] Failed to read output from testmodel.py, exit status != 0: 12.462656708434224 12.469661241 11.850453488 Calling exit ...