Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.0007532/0.0007532, 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.0007711/0.0007711, allocations: 169.9 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.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.03161/0.03161, allocations: 7.51 MB / 266.7 MB, free: 6.184 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_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 391.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.175e-05, allocations: 2.281 kB / 391.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.2696/0.2696, allocations: 126.8 MB / 0.5064 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05452/0.3242, allocations: 86.73 MB / 0.5911 GB, free: 8.227 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005848/0.3247, allocations: 11.94 kB / 0.5911 GB, free: 8.215 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.3272, allocations: 1.244 MB / 0.5924 GB, free: 6.969 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.3302, allocations: 1.61 MB / 0.5939 GB, free: 5.352 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05637/0.3866, allocations: 31.86 MB / 0.625 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.3881, allocations: 1.433 MB / 0.6264 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.3883, allocations: 85.7 kB / 0.6265 GB, free: 3.906 MB / 0.4948 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.2317/0.62, allocations: 10.42 MB / 0.6367 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.6204, allocations: 339.1 kB / 0.637 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.6204, allocations: 41.88 kB / 0.6371 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03566/0.6561, allocations: 25.57 MB / 0.662 GB, free: 28.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.6563, allocations: 135.2 kB / 0.6622 GB, free: 28.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.6567, allocations: 221.2 kB / 0.6624 GB, free: 28.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03352/0.6902, allocations: 15.01 MB / 0.677 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6902, allocations: 3.094 kB / 0.677 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6902, allocations: 0 / 0.677 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.6903, allocations: 0 / 0.677 GB, free: 28.15 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.005528/0.6958, allocations: 2.673 MB / 0.6797 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6958, allocations: 11.47 kB / 0.6797 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.6959, allocations: 81.97 kB / 0.6797 GB, free: 26.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.6962, allocations: 84.73 kB / 0.6798 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.6966, allocations: 277.3 kB / 0.6801 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.6966, allocations: 35.25 kB / 0.6801 GB, free: 26.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.6966, allocations: 30.78 kB / 0.6802 GB, free: 26.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007268/0.6974, allocations: 0.7458 MB / 0.6809 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6974, allocations: 2 kB / 0.6809 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.6974, allocations: 16.47 kB / 0.6809 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.6974, allocations: 15.44 kB / 0.6809 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/0.6981, allocations: 0.5284 MB / 0.6814 GB, free: 26.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.6995, allocations: 1.691 MB / 0.6831 GB, free: 25.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.7001, allocations: 464.8 kB / 0.6835 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.7003, allocations: 313.5 kB / 0.6838 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05386/0.7542, allocations: 30.72 MB / 0.7138 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.7542, allocations: 34.78 kB / 0.7139 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.504e-06/0.7542, allocations: 0 / 0.7139 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.00355/0.7578, allocations: 2.347 MB / 0.7161 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.7578, allocations: 55.41 kB / 0.7162 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.758, allocations: 267.7 kB / 0.7165 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.758, allocations: 29.64 kB / 0.7165 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.7581, allocations: 191 kB / 0.7167 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.7581, allocations: 279.7 kB / 0.7169 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.7582, allocations: 100.4 kB / 0.717 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.7583, allocations: 350.7 kB / 0.7174 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.7585, allocations: 300.2 kB / 0.7176 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.7588, allocations: 408.7 kB / 0.718 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.7594, allocations: 0.7323 MB / 0.7187 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7594, allocations: 2.062 kB / 0.7188 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008155/0.7602, allocations: 0.8428 MB / 0.7196 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7602, allocations: 8 kB / 0.7196 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7602, allocations: 384 / 0.7196 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.7604, allocations: 83.66 kB / 0.7197 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.7607, allocations: 113.5 kB / 0.7198 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/0.7852, allocations: 14.49 MB / 0.7339 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.7856, allocations: 31.66 kB / 0.734 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.7856, allocations: 19 kB / 0.734 GB, free: 6.051 MB / 0.5105 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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.7858, allocations: 199.2 kB / 0.7342 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.7859, allocations: 43.72 kB / 0.7342 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.7872, allocations: 1.757 MB / 0.7359 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.7873, allocations: 15.86 kB / 0.7359 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7873, allocations: 0 / 0.7359 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000941/0.7882, allocations: 1.296 MB / 0.7372 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.7898, allocations: 1.712 MB / 0.7389 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.7898, allocations: 0 / 0.7389 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.79, allocations: 89 kB / 0.739 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/0.7902, allocations: 120.8 kB / 0.7391 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.7902, allocations: 7.938 kB / 0.7391 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.7913, allocations: 1.976 MB / 0.741 GB, free: 144 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7913, allocations: 8.188 kB / 0.741 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.7926, allocations: 1.464 MB / 0.7424 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.7927, allocations: 44.81 kB / 0.7425 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.7927, allocations: 11.62 kB / 0.7425 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.7929, allocations: 31.72 kB / 0.7425 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.7929, allocations: 46.72 kB / 0.7426 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.793, allocations: 11.94 kB / 0.7426 GB, free: 15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001522/0.7931, allocations: 221.6 kB / 0.7428 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.7931, allocations: 8.062 kB / 0.7428 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006455/0.7996, allocations: 3.033 MB / 0.7458 GB, free: 11.88 MB / 0.5261 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,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.01375/0.8133, allocations: 6.034 MB / 0.7517 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.8148, allocations: 1.02 MB / 0.7527 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.8148, allocations: 0 / 0.7527 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.8154, allocations: 0.5303 MB / 0.7532 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.8165, allocations: 387.5 kB / 0.7535 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.8269, allocations: 6.349 MB / 0.7597 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.8271, allocations: 259.2 kB / 0.76 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000364/0.8274, allocations: 130.5 kB / 0.7601 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.8276, allocations: 174 kB / 0.7603 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/0.8276, allocations: 0 / 0.7603 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3057/1.133, allocations: 121.3 MB / 0.8787 GB, free: 212.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.39, allocations: 0.8125 kB / 0.8787 GB, free: 212.5 MB / 0.6198 GB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.265250792726874] Failed to read output from testmodel.py, exit status != 0: 12.545773553662002 12.556824245 11.863713988 Calling exit ...