Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.001326/0.001326, 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.001558/0.001558, allocations: 216.4 kB / 22.25 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.805 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.05044/0.05044, allocations: 9.133 MB / 321.6 MB, free: 10.23 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.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.91 kB / 446.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09909, allocations: 54.94 MB / 0.4897 GB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3345/0.4336, allocations: 127 MB / 0.6138 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.09153/0.5251, allocations: 86.74 MB / 0.6985 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005761/0.5257, allocations: 7.938 kB / 0.6985 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002994/0.5287, allocations: 1.23 MB / 0.6997 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.5321, allocations: 1.567 MB / 0.7012 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3389/0.871, allocations: 31.36 MB / 0.7318 GB, free: 23.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.8728, allocations: 1.422 MB / 0.7332 GB, free: 23.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.873, allocations: 78.78 kB / 0.7333 GB, free: 23.04 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.01637/0.8894, allocations: 10.1 MB / 0.7432 GB, free: 22.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.8901, allocations: 379.5 kB / 0.7435 GB, free: 22.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.613e-05/0.8901, allocations: 43.53 kB / 0.7436 GB, free: 22.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03536/0.9255, allocations: 21.59 MB / 0.7647 GB, free: 22.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.9257, allocations: 124.1 kB / 0.7648 GB, free: 22.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.9263, allocations: 258.8 kB / 0.765 GB, free: 22.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02812/0.9544, allocations: 10.87 MB / 0.7756 GB, free: 22.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9544, allocations: 0 / 0.7756 GB, free: 22.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9544, allocations: 0 / 0.7756 GB, free: 22.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.375e-05/0.9544, allocations: 0 / 0.7756 GB, free: 22.36 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.005719/0.9601, allocations: 2.295 MB / 0.7779 GB, free: 21.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9602, allocations: 11 kB / 0.7779 GB, free: 21.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.353e-05/0.9603, allocations: 90.12 kB / 0.778 GB, free: 21.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.9608, allocations: 80.72 kB / 0.7781 GB, free: 21.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.9613, allocations: 278.9 kB / 0.7783 GB, free: 20.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.9613, allocations: 35.66 kB / 0.7784 GB, free: 20.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.9614, allocations: 28.56 kB / 0.7784 GB, free: 20.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.9625, allocations: 0.7546 MB / 0.7791 GB, free: 20.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.9625, allocations: 0 / 0.7791 GB, free: 20.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.9625, allocations: 16.03 kB / 0.7791 GB, free: 20.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.9626, allocations: 15.73 kB / 0.7791 GB, free: 20.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.9637, allocations: 0.5353 MB / 0.7797 GB, free: 20.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.9655, allocations: 1.699 MB / 0.7813 GB, free: 19.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/0.9664, allocations: 481.5 kB / 0.7818 GB, free: 19.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.9669, allocations: 321.5 kB / 0.7821 GB, free: 19.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1417/1.109, allocations: 37.46 MB / 0.8187 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/1.109, allocations: 38.78 kB / 0.8187 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.876e-06/1.109, allocations: 2.625 kB / 0.8187 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.00586/1.114, allocations: 2.228 MB / 0.8209 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/1.115, allocations: 56.16 kB / 0.8209 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/1.115, allocations: 268 kB / 0.8212 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/1.115, allocations: 29.45 kB / 0.8212 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/1.115, allocations: 195 kB / 0.8214 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.115, allocations: 267.9 kB / 0.8217 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.115, allocations: 104.6 kB / 0.8218 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.115, allocations: 362.5 kB / 0.8221 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/1.116, allocations: 281.9 kB / 0.8224 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/1.117, allocations: 401.1 kB / 0.8228 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/1.118, allocations: 0.7166 MB / 0.8235 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.118, allocations: 0 / 0.8235 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001513/1.119, allocations: 0.8273 MB / 0.8243 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.119, allocations: 8.031 kB / 0.8243 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.119, allocations: 5.203 kB / 0.8243 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/1.12, allocations: 112.7 kB / 0.8244 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/1.12, allocations: 107.3 kB / 0.8245 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07047/1.191, allocations: 19 MB / 0.843 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/1.191, allocations: 24.5 kB / 0.8431 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/1.191, allocations: 23.8 kB / 0.8431 GB, free: 2.656 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0003069/1.192, allocations: 194.5 kB / 0.8433 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/1.192, allocations: 43.72 kB / 0.8433 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/1.194, allocations: 1.73 MB / 0.845 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.194, allocations: 7.938 kB / 0.845 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.194, allocations: 7.641 kB / 0.845 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001665/1.196, allocations: 1.287 MB / 0.8463 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/1.198, allocations: 1.697 MB / 0.8479 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.198, allocations: 4.875 kB / 0.8479 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/1.199, allocations: 77.12 kB / 0.848 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/1.199, allocations: 198.9 kB / 0.8482 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/1.199, allocations: 7.609 kB / 0.8482 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/1.201, allocations: 2.476 MB / 0.8506 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.201, allocations: 4.062 kB / 0.8506 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/1.203, allocations: 1.493 MB / 0.8521 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.203, allocations: 39.69 kB / 0.8521 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/1.203, allocations: 7.438 kB / 0.8521 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/1.204, allocations: 27.53 kB / 0.8522 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.204, allocations: 43.73 kB / 0.8522 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/1.204, allocations: 19.86 kB / 0.8522 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002734/1.204, allocations: 221.8 kB / 0.8524 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.204, allocations: 0 / 0.8524 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009696/1.214, allocations: 3.282 MB / 0.8556 GB, free: 7.684 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: 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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02045/1.234, allocations: 5.918 MB / 0.8614 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002085/1.236, allocations: 0.9703 MB / 0.8624 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.236, allocations: 0 / 0.8624 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008641/1.237, allocations: 0.4924 MB / 0.8628 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/1.239, allocations: 408.9 kB / 0.8632 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.252, allocations: 6.247 MB / 0.8693 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/1.253, allocations: 258.8 kB / 0.8696 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004026/1.253, allocations: 114.1 kB / 0.8697 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/1.253, allocations: 165 kB / 0.8699 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/1.253, allocations: 3.562 kB / 0.8699 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4391/1.692, allocations: 130.6 MB / 0.9974 GB, free: 252.8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/19.5, allocations: 6.906 kB / 0.9974 GB, free: 252.8 MB / 0.7012 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.43478448037058] Failed to read output from testmodel.py, exit status != 0: 19.69963718485087 19.718397981 18.76062631 Calling exit ...