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.000817/0.000817, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009526/0.0009526, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8829/0.8829, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.02805/0.02805, allocations: 7.519 MB / 266.7 MB, free: 6.215 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.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 1.472e-06/1.472e-06, allocations: 0 / 391.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.522e-05, allocations: 2.281 kB / 391.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.2415/0.2415, allocations: 126.8 MB / 0.5064 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2822/0.5237, allocations: 86.73 MB / 0.5911 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.5241, allocations: 8.5 kB / 0.5911 GB, free: 456 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.5263, allocations: 1.241 MB / 0.5924 GB, free: 452 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.5288, allocations: 1.604 MB / 0.5939 GB, free: 436 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05238/0.5812, allocations: 31.85 MB / 0.625 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.583, allocations: 1.439 MB / 0.6264 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.5832, allocations: 80.95 kB / 0.6265 GB, free: 12.49 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.01161/0.5948, allocations: 10.42 MB / 0.6367 GB, free: 9.855 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.5952, allocations: 342.5 kB / 0.637 GB, free: 9.754 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.5952, allocations: 42.28 kB / 0.6371 GB, free: 9.754 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03102/0.6262, allocations: 21.76 MB / 0.6583 GB, free: 484 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.6264, allocations: 132.2 kB / 0.6584 GB, free: 408 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.6268, allocations: 214.8 kB / 0.6586 GB, free: 248 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02465/0.6515, allocations: 12.73 MB / 0.6711 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6515, allocations: 4 kB / 0.6711 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6515, allocations: 0 / 0.6711 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.6515, allocations: 0 / 0.6711 GB, free: 7.246 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.004294/0.6558, allocations: 2.286 MB / 0.6733 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6558, allocations: 8.625 kB / 0.6733 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.367e-05/0.6559, allocations: 84.52 kB / 0.6734 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.6562, allocations: 95.14 kB / 0.6735 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.6566, allocations: 271 kB / 0.6738 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.6566, allocations: 31.09 kB / 0.6738 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.6566, allocations: 28.69 kB / 0.6738 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.6574, allocations: 0.7549 MB / 0.6745 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6574, allocations: 0 / 0.6745 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.6574, allocations: 13.38 kB / 0.6746 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.6575, allocations: 21.47 kB / 0.6746 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.6581, allocations: 0.531 MB / 0.6751 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.6595, allocations: 1.706 MB / 0.6768 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.6601, allocations: 475.8 kB / 0.6772 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.6604, allocations: 318.9 kB / 0.6775 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07564/0.736, allocations: 37.47 MB / 0.7141 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.7361, allocations: 34.84 kB / 0.7141 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=78): time 2.866e-06/0.7361, allocations: 0 / 0.7141 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.003843/0.7399, allocations: 2.236 MB / 0.7163 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.74, allocations: 55.41 kB / 0.7164 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.7402, allocations: 261.8 kB / 0.7166 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.7402, allocations: 33.7 kB / 0.7167 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.7403, allocations: 193.4 kB / 0.7168 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.7404, allocations: 271.7 kB / 0.7171 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.7405, allocations: 98.16 kB / 0.7172 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7406, allocations: 354.8 kB / 0.7175 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.7409, allocations: 288.2 kB / 0.7178 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.7412, allocations: 403.8 kB / 0.7182 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.7419, allocations: 0.7202 MB / 0.7189 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7419, allocations: 0 / 0.7189 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008615/0.7428, allocations: 0.8248 MB / 0.7197 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7428, allocations: 4 kB / 0.7197 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7428, allocations: 7.984 kB / 0.7197 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.7431, allocations: 116.6 kB / 0.7198 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.7434, allocations: 103 kB / 0.7199 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03518/0.7786, allocations: 18.99 MB / 0.7385 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.7789, allocations: 27.17 kB / 0.7385 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.7789, allocations: 27.92 kB / 0.7385 GB, free: 4.164 MB / 0.5573 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.0002469/0.7792, allocations: 189.8 kB / 0.7387 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.7793, allocations: 43.72 kB / 0.7388 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.7807, allocations: 1.736 MB / 0.7404 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.7807, allocations: 19.88 kB / 0.7405 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7807, allocations: 4 kB / 0.7405 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009609/0.7817, allocations: 1.287 MB / 0.7417 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.7832, allocations: 1.697 MB / 0.7434 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7832, allocations: 0 / 0.7434 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.7833, allocations: 79 kB / 0.7435 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.7835, allocations: 200.8 kB / 0.7437 GB, free: 14.72 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7836, allocations: 8 kB / 0.7437 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.7847, allocations: 2.477 MB / 0.7461 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7847, allocations: 0 / 0.7461 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.786, allocations: 1.493 MB / 0.7475 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.7861, allocations: 39.66 kB / 0.7476 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.7861, allocations: 8 kB / 0.7476 GB, free: 10.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.7863, allocations: 27.97 kB / 0.7476 GB, free: 10.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.7864, allocations: 43.92 kB / 0.7477 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.7864, allocations: 11.98 kB / 0.7477 GB, free: 10.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00016/0.7865, allocations: 223.1 kB / 0.7479 GB, free: 10.23 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.7865, allocations: 0 / 0.7479 GB, free: 10.23 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006728/0.7933, allocations: 3.28 MB / 0.7511 GB, free: 6.938 MB / 0.573 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.01011/0.8034, allocations: 6.25 MB / 0.7572 GB, free: 1.074 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.8045, allocations: 0.9748 MB / 0.7581 GB, free: 84 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8045, allocations: 4.062 kB / 0.7581 GB, free: 80 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.8052, allocations: 495.9 kB / 0.7586 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.8062, allocations: 393.3 kB / 0.759 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.8131, allocations: 6.207 MB / 0.765 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.8133, allocations: 250.2 kB / 0.7653 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005164/0.8138, allocations: 125.5 kB / 0.7654 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.814, allocations: 167.1 kB / 0.7656 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of SimCode: time 1.032e-06/0.814, allocations: 0 / 0.7656 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.303/1.117, allocations: 131.2 MB / 0.8937 GB, free: 228.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.36, allocations: 10.88 kB / 0.8937 GB, free: 228.8 MB / 0.6198 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 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: 14.289668082259595] Failed to read output from testmodel.py, exit status != 0: 12.520422192290425 12.531528089 11.878380911 Calling exit ...