Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.001285/0.001285, 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.001533/0.001533, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.781 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.04995/0.04995, allocations: 9.135 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,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 446.6 MB, free: 0.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.107, allocations: 54.94 MB / 0.4897 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3717/0.4786, allocations: 127 MB / 0.6138 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.09535/0.574, allocations: 86.74 MB / 0.6985 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006735/0.5747, allocations: 11.94 kB / 0.6985 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.5782, allocations: 1.223 MB / 0.6997 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.5821, allocations: 1.575 MB / 0.7012 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3632/0.9453, allocations: 31.35 MB / 0.7318 GB, free: 23.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.9471, allocations: 1.431 MB / 0.7332 GB, free: 23.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.9474, allocations: 82.11 kB / 0.7333 GB, free: 23 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.0167/0.9641, allocations: 10.11 MB / 0.7432 GB, free: 22.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.9646, allocations: 376.6 kB / 0.7435 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/0.9646, allocations: 42.34 kB / 0.7436 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03401/0.9986, allocations: 20.06 MB / 0.7632 GB, free: 22.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.999, allocations: 131.9 kB / 0.7633 GB, free: 22.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.9997, allocations: 252.1 kB / 0.7635 GB, free: 22.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02825/1.028, allocations: 10.13 MB / 0.7734 GB, free: 22.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.028, allocations: 7.219 kB / 0.7734 GB, free: 22.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.574e-06/1.028, allocations: 0 / 0.7734 GB, free: 22.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.572e-05/1.028, allocations: 0 / 0.7734 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.005199/1.033, allocations: 2.137 MB / 0.7755 GB, free: 21.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.033, allocations: 10.78 kB / 0.7755 GB, free: 21.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.387e-05/1.033, allocations: 84.58 kB / 0.7756 GB, free: 21.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/1.034, allocations: 81.05 kB / 0.7757 GB, free: 21.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/1.034, allocations: 283.3 kB / 0.7759 GB, free: 20.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/1.034, allocations: 33 kB / 0.776 GB, free: 20.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/1.034, allocations: 32.5 kB / 0.776 GB, free: 20.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/1.035, allocations: 0.7409 MB / 0.7767 GB, free: 20.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/1.035, allocations: 3.719 kB / 0.7767 GB, free: 20.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/1.035, allocations: 15.44 kB / 0.7768 GB, free: 20.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/1.035, allocations: 16.28 kB / 0.7768 GB, free: 20.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/1.036, allocations: 0.5217 MB / 0.7773 GB, free: 20.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/1.038, allocations: 1.696 MB / 0.7789 GB, free: 19.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009046/1.039, allocations: 458.8 kB / 0.7794 GB, free: 19.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/1.04, allocations: 293.5 kB / 0.7797 GB, free: 19.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1214/1.161, allocations: 34.17 MB / 0.813 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/1.161, allocations: 37.94 kB / 0.8131 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.375e-06/1.161, allocations: 0 / 0.8131 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006408/1.167, allocations: 2.472 MB / 0.8155 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.167, allocations: 57.47 kB / 0.8155 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/1.168, allocations: 264 kB / 0.8158 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/1.168, allocations: 33.45 kB / 0.8158 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.168, allocations: 192.8 kB / 0.816 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/1.168, allocations: 278.7 kB / 0.8163 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.168, allocations: 104.8 kB / 0.8164 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.168, allocations: 354.2 kB / 0.8167 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/1.169, allocations: 287.7 kB / 0.817 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/1.17, allocations: 408.2 kB / 0.8174 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.171, allocations: 0.7371 MB / 0.8181 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.171, allocations: 0.75 kB / 0.8181 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001524/1.172, allocations: 0.8412 MB / 0.8189 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.172, allocations: 8 kB / 0.8189 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.172, allocations: 4.656 kB / 0.8189 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007949/1.173, allocations: 155 kB / 0.8191 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/1.174, allocations: 121 kB / 0.8192 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/1.176, allocations: 3.641 MB / 0.8227 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/1.177, allocations: 31.53 kB / 0.8228 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/1.177, allocations: 17.5 kB / 0.8228 GB, free: 6.207 MB / 0.5606 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): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00027/1.177, allocations: 206.2 kB / 0.823 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/1.177, allocations: 43.72 kB / 0.823 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/1.179, allocations: 1.709 MB / 0.8247 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.179, allocations: 15.91 kB / 0.8247 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/1.179, allocations: 0.7656 kB / 0.8247 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/1.181, allocations: 1.269 MB / 0.8259 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/1.183, allocations: 1.667 MB / 0.8276 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.183, allocations: 0.5469 kB / 0.8276 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/1.184, allocations: 77.56 kB / 0.8276 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006661/1.184, allocations: 272 kB / 0.8279 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/1.184, allocations: 11.12 kB / 0.8279 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/1.186, allocations: 1.778 MB / 0.8296 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.186, allocations: 0 / 0.8296 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/1.188, allocations: 1.507 MB / 0.8311 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.188, allocations: 43.73 kB / 0.8312 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/1.188, allocations: 6.875 kB / 0.8312 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/1.188, allocations: 23.53 kB / 0.8312 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/1.188, allocations: 46.33 kB / 0.8312 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/1.188, allocations: 19.77 kB / 0.8313 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002364/1.189, allocations: 219.4 kB / 0.8315 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.189, allocations: 0 / 0.8315 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006192/1.195, allocations: 2.011 MB / 0.8334 GB, free: 13.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01337/1.208, allocations: 4.581 MB / 0.8379 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.21, allocations: 0.8547 MB / 0.8387 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.21, allocations: 0 / 0.8387 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007634/1.211, allocations: 389.8 kB / 0.8391 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.213, allocations: 404.6 kB / 0.8395 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.223, allocations: 5.825 MB / 0.8452 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/1.224, allocations: 250.9 kB / 0.8454 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003961/1.224, allocations: 87.28 kB / 0.8455 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/1.224, allocations: 167.1 kB / 0.8457 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.224, allocations: 0 / 0.8457 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/1.372, allocations: 79.63 MB / 0.9234 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/16.2, allocations: 19 kB / 0.9234 GB, free: 3.996 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.027036293875426] Failed to read output from testmodel.py, exit status != 0: 16.3609045506455 16.38688574 15.353860449 Calling exit ...