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.001307/0.001307, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001405/0.001405, allocations: 213.3 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.04939/0.04939, allocations: 9.149 MB / 321.6 MB, free: 10.21 MB / 254.1 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 0.001898/0.001898, allocations: 67.91 kB / 446.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09845, allocations: 54.93 MB / 0.4897 GB, free: 9.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3305/0.4289, allocations: 114.4 MB / 0.6015 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1163/0.5452, allocations: 97.64 MB / 0.6968 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006055/0.5458, allocations: 11.94 kB / 0.6968 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.5487, allocations: 1.136 MB / 0.6979 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003317/0.552, allocations: 1.462 MB / 0.6994 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3479/0.8999, allocations: 30.5 MB / 0.7292 GB, free: 23.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002027/0.902, allocations: 1.341 MB / 0.7305 GB, free: 23.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.9022, allocations: 83.62 kB / 0.7305 GB, free: 23.57 MB / 0.545 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.01627/0.9185, allocations: 8.822 MB / 0.7392 GB, free: 23.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006874/0.9192, allocations: 358.4 kB / 0.7395 GB, free: 23.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.9193, allocations: 42.44 kB / 0.7395 GB, free: 23.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04282/0.9621, allocations: 23.97 MB / 0.7629 GB, free: 23.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.9624, allocations: 126.9 kB / 0.7631 GB, free: 23.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.963, allocations: 252.1 kB / 0.7633 GB, free: 23.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03541/0.9984, allocations: 12.35 MB / 0.7754 GB, free: 22.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9985, allocations: 1.781 kB / 0.7754 GB, free: 22.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9985, allocations: 0 / 0.7754 GB, free: 22.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9985, allocations: 0 / 0.7754 GB, free: 22.95 MB / 0.545 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.006354/1.005, allocations: 2.589 MB / 0.7779 GB, free: 21.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.005, allocations: 11.12 kB / 0.7779 GB, free: 21.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.782e-05/1.005, allocations: 83.02 kB / 0.778 GB, free: 21.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/1.006, allocations: 90.42 kB / 0.7781 GB, free: 21.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/1.006, allocations: 285.1 kB / 0.7783 GB, free: 21.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/1.006, allocations: 31.25 kB / 0.7784 GB, free: 21.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/1.006, allocations: 33.97 kB / 0.7784 GB, free: 21.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/1.007, allocations: 0.7637 MB / 0.7792 GB, free: 21.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/1.007, allocations: 2.578 kB / 0.7792 GB, free: 21.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/1.007, allocations: 14.47 kB / 0.7792 GB, free: 21.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/1.007, allocations: 18.66 kB / 0.7792 GB, free: 21.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.008, allocations: 0.5587 MB / 0.7797 GB, free: 21.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/1.01, allocations: 1.715 MB / 0.7814 GB, free: 20.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/1.011, allocations: 479.4 kB / 0.7819 GB, free: 20.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/1.012, allocations: 324.8 kB / 0.7822 GB, free: 20.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1923/1.204, allocations: 44.04 MB / 0.8252 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.628e-05/1.204, allocations: 38.72 kB / 0.8252 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.895e-06/1.204, allocations: 0 / 0.8252 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.006792/1.211, allocations: 2.243 MB / 0.8274 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.211, allocations: 56.53 kB / 0.8275 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/1.211, allocations: 259.8 kB / 0.8277 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/1.211, allocations: 32.89 kB / 0.8278 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/1.211, allocations: 188.1 kB / 0.8279 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/1.212, allocations: 280.8 kB / 0.8282 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/1.212, allocations: 100.8 kB / 0.8283 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.212, allocations: 357.8 kB / 0.8286 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/1.212, allocations: 288 kB / 0.8289 GB, free: 368 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/1.213, allocations: 414.8 kB / 0.8293 GB, free: 28 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.214, allocations: 0.7232 MB / 0.83 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.214, allocations: 4 kB / 0.83 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001547/1.216, allocations: 0.8192 MB / 0.8308 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.216, allocations: 8 kB / 0.8308 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.216, allocations: 5.094 kB / 0.8308 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/1.216, allocations: 61.17 kB / 0.8309 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/1.217, allocations: 138.9 kB / 0.831 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0719/1.289, allocations: 19.67 MB / 0.8502 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/1.289, allocations: 35.59 kB / 0.8503 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/1.289, allocations: 19.88 kB / 0.8503 GB, free: 11.66 MB / 0.5919 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.0002976/1.289, allocations: 191.4 kB / 0.8505 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.29, allocations: 47.66 kB / 0.8505 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/1.292, allocations: 1.615 MB / 0.8521 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/1.292, allocations: 14.42 kB / 0.8521 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.292, allocations: 0 / 0.8521 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/1.293, allocations: 1.203 MB / 0.8533 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/1.296, allocations: 1.598 MB / 0.8548 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/1.296, allocations: 1 kB / 0.8548 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/1.296, allocations: 75.12 kB / 0.8549 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/1.296, allocations: 118.3 kB / 0.855 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/1.296, allocations: 9.844 kB / 0.855 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/1.298, allocations: 1.89 MB / 0.8569 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.298, allocations: 0 / 0.8569 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/1.3, allocations: 1.284 MB / 0.8581 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.3, allocations: 39.69 kB / 0.8582 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/1.3, allocations: 18.89 kB / 0.8582 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/1.3, allocations: 27.77 kB / 0.8582 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.3, allocations: 46.42 kB / 0.8583 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.3, allocations: 19.73 kB / 0.8583 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002655/1.301, allocations: 248.6 kB / 0.8585 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.301, allocations: 1.094 kB / 0.8585 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009565/1.31, allocations: 3.571 MB / 0.862 GB, free: 1.352 MB / 0.5919 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.02122/1.331, allocations: 6.298 MB / 0.8681 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002316/1.334, allocations: 0.9723 MB / 0.8691 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.334, allocations: 4 kB / 0.8691 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009064/1.335, allocations: 478 kB / 0.8696 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/1.337, allocations: 408.9 kB / 0.8699 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.351, allocations: 6.447 MB / 0.8762 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/1.351, allocations: 242.2 kB / 0.8765 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005098/1.352, allocations: 147.2 kB / 0.8766 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/1.352, allocations: 167.3 kB / 0.8768 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of SimCode: time 9.72e-07/1.352, allocations: 0 / 0.8768 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.452/1.804, allocations: 134.6 MB / 1.008 GB, free: 247.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.52/19.32, allocations: 1.656 kB / 1.008 GB, free: 247.2 MB / 0.7012 GB " [Timeout remaining time 640] (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: 21.885000490117818] Failed to read output from testmodel.py, exit status != 0: 19.522223107051104 19.53449562 18.533414705 Calling exit ...