Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_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.001276/0.001276, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001411/0.001411, allocations: 215.7 kB / 22.25 MB, free: 5.262 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.377/1.377, 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.04902/0.04902, allocations: 9.133 MB / 321.6 MB, free: 10.3 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_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.91 kB / 446.6 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09868, allocations: 54.94 MB / 0.4897 GB, free: 9.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.3541/0.4528, allocations: 127 MB / 0.6138 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1002/0.553, allocations: 86.72 MB / 0.6985 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000582/0.5536, allocations: 15.94 kB / 0.6985 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.5569, allocations: 1.226 MB / 0.6997 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.5608, allocations: 1.571 MB / 0.7012 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.373/0.9338, allocations: 31.35 MB / 0.7318 GB, free: 23.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.9355, allocations: 1.418 MB / 0.7332 GB, free: 23.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.9357, allocations: 81.77 kB / 0.7333 GB, free: 23.08 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.01741/0.9532, allocations: 10.1 MB / 0.7432 GB, free: 22.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.9538, allocations: 389.4 kB / 0.7435 GB, free: 22.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.9538, allocations: 41.03 kB / 0.7436 GB, free: 22.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04225/0.9961, allocations: 24.65 MB / 0.7676 GB, free: 22.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.9963, allocations: 130.2 kB / 0.7678 GB, free: 22.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.9968, allocations: 257.2 kB / 0.768 GB, free: 22.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03442/1.031, allocations: 12.36 MB / 0.7801 GB, free: 21.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.031, allocations: 0 / 0.7801 GB, free: 21.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.645e-06/1.031, allocations: 1.094 kB / 0.7801 GB, free: 21.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.031, allocations: 0 / 0.7801 GB, free: 21.63 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.007191/1.038, allocations: 2.592 MB / 0.7826 GB, free: 20.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.038, allocations: 11.5 kB / 0.7826 GB, free: 20.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.152e-05/1.039, allocations: 84.08 kB / 0.7827 GB, free: 19.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/1.039, allocations: 91.56 kB / 0.7828 GB, free: 19.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/1.04, allocations: 283.5 kB / 0.7831 GB, free: 19.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/1.04, allocations: 31.28 kB / 0.7831 GB, free: 19.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/1.04, allocations: 33.2 kB / 0.7831 GB, free: 19.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/1.041, allocations: 0.762 MB / 0.7839 GB, free: 19.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/1.041, allocations: 0 / 0.7839 GB, free: 19.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/1.041, allocations: 20.62 kB / 0.7839 GB, free: 19.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/1.041, allocations: 17.92 kB / 0.7839 GB, free: 19.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/1.042, allocations: 0.5531 MB / 0.7844 GB, free: 19.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/1.044, allocations: 1.706 MB / 0.7861 GB, free: 18.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/1.045, allocations: 484 kB / 0.7866 GB, free: 18.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/1.045, allocations: 320 kB / 0.7869 GB, free: 18.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1911/1.236, allocations: 44.05 MB / 0.8299 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/1.236, allocations: 34.78 kB / 0.8299 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.746e-06/1.236, allocations: 4 kB / 0.8299 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006103/1.243, allocations: 2.246 MB / 0.8321 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.243, allocations: 55.41 kB / 0.8322 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/1.243, allocations: 260.9 kB / 0.8324 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/1.243, allocations: 33.58 kB / 0.8325 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/1.243, allocations: 196.1 kB / 0.8326 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/1.243, allocations: 275.4 kB / 0.8329 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/1.243, allocations: 97.05 kB / 0.833 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.244, allocations: 362.9 kB / 0.8333 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/1.244, allocations: 282.3 kB / 0.8336 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/1.245, allocations: 418.3 kB / 0.834 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/1.246, allocations: 0.7316 MB / 0.8347 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.246, allocations: 4 kB / 0.8347 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001521/1.247, allocations: 0.8062 MB / 0.8355 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.247, allocations: 8.031 kB / 0.8355 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.247, allocations: 6.625 kB / 0.8355 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/1.248, allocations: 60.48 kB / 0.8356 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/1.248, allocations: 126.7 kB / 0.8357 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07123/1.32, allocations: 18.9 MB / 0.8542 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/1.32, allocations: 27.67 kB / 0.8542 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/1.32, allocations: 24.3 kB / 0.8542 GB, free: 8.191 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.0003245/1.32, allocations: 198.9 kB / 0.8544 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.321, allocations: 43.72 kB / 0.8544 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/1.323, allocations: 1.625 MB / 0.856 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/1.323, allocations: 10.59 kB / 0.856 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.323, allocations: 4.75 kB / 0.856 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/1.325, allocations: 1.204 MB / 0.8572 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/1.327, allocations: 1.59 MB / 0.8588 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.327, allocations: 3.984 kB / 0.8588 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/1.327, allocations: 79.02 kB / 0.8588 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/1.328, allocations: 110.1 kB / 0.859 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/1.328, allocations: 7.719 kB / 0.859 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/1.329, allocations: 1.891 MB / 0.8608 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.329, allocations: 0 / 0.8608 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/1.332, allocations: 1.282 MB / 0.8621 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/1.332, allocations: 51.67 kB / 0.8621 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/1.332, allocations: 15.77 kB / 0.8621 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/1.332, allocations: 19.86 kB / 0.8621 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.332, allocations: 52.39 kB / 0.8622 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/1.332, allocations: 9.625 kB / 0.8622 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003088/1.333, allocations: 246.5 kB / 0.8624 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.333, allocations: 0 / 0.8624 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01081/1.343, allocations: 3.573 MB / 0.8659 GB, free: 13.88 MB / 0.6075 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.02239/1.366, allocations: 6.273 MB / 0.8721 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002334/1.368, allocations: 0.9758 MB / 0.873 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.368, allocations: 7.188 kB / 0.873 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/1.369, allocations: 487 kB / 0.8735 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.371, allocations: 401.3 kB / 0.8739 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/1.385, allocations: 6.438 MB / 0.8801 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/1.386, allocations: 247.3 kB / 0.8804 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000471/1.386, allocations: 145.7 kB / 0.8805 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/1.386, allocations: 172 kB / 0.8807 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/1.386, allocations: 0 / 0.8807 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4678/1.854, allocations: 134.8 MB / 1.012 GB, free: 246.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/19.41, allocations: 1.125 kB / 1.012 GB, free: 246.9 MB / 0.7012 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.597894553095102] Failed to read output from testmodel.py, exit status != 0: 19.613177940715104 19.62657988 18.592650004 Calling exit ...