Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.0008056/0.0008056, 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.0008691/0.0008691, 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.8736/0.8736, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02961/0.02961, allocations: 7.514 MB / 266.7 MB, free: 6.199 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.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 391.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.352e-05, allocations: 5.094 kB / 391.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2207/0.2207, allocations: 114.2 MB / 0.4942 GB, free: 8.391 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2599/0.4806, allocations: 97.62 MB / 0.5895 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004297/0.481, allocations: 9.094 kB / 0.5895 GB, free: 456 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.4831, allocations: 1.155 MB / 0.5906 GB, free: 452 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.4853, allocations: 1.495 MB / 0.5921 GB, free: 436 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05022/0.5356, allocations: 31.02 MB / 0.6224 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.5373, allocations: 1.358 MB / 0.6237 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.5375, allocations: 81.64 kB / 0.6238 GB, free: 12.44 MB / 490.7 MB [/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.009069/0.5466, allocations: 9.113 MB / 0.6327 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.5469, allocations: 320.9 kB / 0.633 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.5469, allocations: 43.5 kB / 0.633 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02932/0.5763, allocations: 24.15 MB / 0.6566 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.5764, allocations: 130.2 kB / 0.6567 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.5767, allocations: 223.3 kB / 0.6569 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02493/0.6017, allocations: 14.51 MB / 0.6711 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6017, allocations: 0 / 0.6711 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6017, allocations: 4 kB / 0.6711 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.6017, allocations: 0 / 0.6711 GB, free: 6.883 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.004898/0.6066, allocations: 2.582 MB / 0.6736 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.6066, allocations: 12.62 kB / 0.6737 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.6067, allocations: 85.45 kB / 0.6737 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.607, allocations: 96.53 kB / 0.6738 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.6075, allocations: 278.8 kB / 0.6741 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.6075, allocations: 27.78 kB / 0.6741 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.6075, allocations: 34.73 kB / 0.6742 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.6083, allocations: 0.7599 MB / 0.6749 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6084, allocations: 3.188 kB / 0.6749 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.6084, allocations: 18.73 kB / 0.6749 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.6084, allocations: 20.34 kB / 0.6749 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.6091, allocations: 0.5542 MB / 0.6755 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.6106, allocations: 1.712 MB / 0.6771 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.6112, allocations: 482 kB / 0.6776 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.6115, allocations: 310.8 kB / 0.6779 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09436/0.7059, allocations: 44.05 MB / 0.7209 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.7059, allocations: 42.84 kB / 0.721 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/0.7059, allocations: 0 / 0.721 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.003681/0.7096, allocations: 2.238 MB / 0.7231 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.7096, allocations: 59.41 kB / 0.7232 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.7098, allocations: 261.8 kB / 0.7235 GB, free: 3.441 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.7099, allocations: 33.7 kB / 0.7235 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.71, allocations: 192.9 kB / 0.7237 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.7101, allocations: 271 kB / 0.7239 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.7102, allocations: 98.12 kB / 0.724 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7103, allocations: 358.8 kB / 0.7244 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.7106, allocations: 277.4 kB / 0.7246 GB, free: 2.219 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.7109, allocations: 420.5 kB / 0.725 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.7116, allocations: 0.7348 MB / 0.7257 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7116, allocations: 4.625 kB / 0.7257 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008828/0.7125, allocations: 0.8147 MB / 0.7265 GB, free: 188 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7125, allocations: 4 kB / 0.7265 GB, free: 184 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7125, allocations: 4.469 kB / 0.7266 GB, free: 180 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.7127, allocations: 72.62 kB / 0.7266 GB, free: 104 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.713, allocations: 125.6 kB / 0.7267 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03424/0.7473, allocations: 19.68 MB / 0.746 GB, free: 11.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.7475, allocations: 23.98 kB / 0.746 GB, free: 11.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.7475, allocations: 19.98 kB / 0.746 GB, free: 11.67 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002144/0.7477, allocations: 191 kB / 0.7462 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.7478, allocations: 47.66 kB / 0.7462 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.7491, allocations: 1.624 MB / 0.7478 GB, free: 9.738 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.7491, allocations: 10.58 kB / 0.7478 GB, free: 9.73 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7491, allocations: 11.92 kB / 0.7478 GB, free: 9.719 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008676/0.75, allocations: 1.195 MB / 0.749 GB, free: 8.434 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.7514, allocations: 1.59 MB / 0.7506 GB, free: 6.809 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7514, allocations: 11.2 kB / 0.7506 GB, free: 6.801 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.7516, allocations: 74.58 kB / 0.7506 GB, free: 6.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/0.7518, allocations: 105.6 kB / 0.7507 GB, free: 6.621 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.7518, allocations: 8 kB / 0.7508 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008447/0.7526, allocations: 1.891 MB / 0.7526 GB, free: 4.594 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7526, allocations: 4 kB / 0.7526 GB, free: 4.59 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.7538, allocations: 1.289 MB / 0.7539 GB, free: 3.277 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.7538, allocations: 39.73 kB / 0.7539 GB, free: 3.238 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.7538, allocations: 11.94 kB / 0.7539 GB, free: 3.227 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.754, allocations: 28.05 kB / 0.7539 GB, free: 3.199 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.7541, allocations: 47.84 kB / 0.754 GB, free: 3.152 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.7541, allocations: 12 kB / 0.754 GB, free: 3.141 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001642/0.7542, allocations: 243 kB / 0.7542 GB, free: 2.902 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.7542, allocations: 0 / 0.7542 GB, free: 2.902 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006674/0.7609, allocations: 3.572 MB / 0.7577 GB, free: 15.32 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01408/0.775, allocations: 6.682 MB / 0.7642 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.7764, allocations: 0.9794 MB / 0.7652 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7764, allocations: 4.75 kB / 0.7652 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.777, allocations: 486.5 kB / 0.7657 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7781, allocations: 385.7 kB / 0.766 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.7891, allocations: 6.41 MB / 0.7723 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.7892, allocations: 257.8 kB / 0.7725 GB, free: 384 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003702/0.7896, allocations: 142.1 kB / 0.7727 GB, free: 244 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.7898, allocations: 164.5 kB / 0.7728 GB, free: 80 kB / 0.5886 GB Notification: Performance of SimCode: time 1.153e-06/0.7898, allocations: 4 kB / 0.7728 GB, free: 76 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2899/1.08, allocations: 135.1 MB / 0.9048 GB, free: 217.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.04, allocations: 7.984 kB / 0.9048 GB, free: 217.7 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.76986910495907] Failed to read output from testmodel.py, exit status != 0: 12.204380703158677 12.210598521 11.607533726 Calling exit ...