Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.000937/0.000937, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002221, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009602/0.0009602, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002218, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9242/0.9242, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0931/1.017, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.0441/0.0441, allocations: 11.72 MB / 255.9 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00473/0.04883, allocations: 3.09 MB / 259 MB, free: 0.6914 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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: translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.238e-06/1.027e-05, allocations: 6.312 kB / 260.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.1656/0.1656, allocations: 62.03 MB / 322.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03917/0.2047, allocations: 48.77 MB / 371.1 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.205, allocations: 11.94 kB / 371.1 MB, free: 4.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.2058, allocations: 478.5 kB / 371.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.2066, allocations: 0.6686 MB / 372.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04203/0.2486, allocations: 23.85 MB / 396.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.2501, allocations: 1.507 MB / 397.6 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2503, allocations: 93.69 kB / 397.7 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005274/0.2556, allocations: 5.665 MB / 403.4 MB, free: 3.871 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.256, allocations: 335 kB / 403.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.256, allocations: 44 kB / 403.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02705/0.2831, allocations: 18.4 MB / 422.1 MB, free: 1.074 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.2832, allocations: 103.7 kB / 422.2 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.2835, allocations: 195.7 kB / 422.4 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1528/0.4363, allocations: 7.117 MB / 429.5 MB, free: 49.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.4363, allocations: 0.5156 kB / 429.5 MB, free: 49.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4363, allocations: 0 / 429.5 MB, free: 49.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.4364, allocations: 1.406 kB / 429.5 MB, free: 49.35 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.003662/0.44, allocations: 2.501 MB / 432 MB, free: 48.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4401, allocations: 9.156 kB / 432 MB, free: 48.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.4403, allocations: 95.19 kB / 432.1 MB, free: 48.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.4406, allocations: 248 kB / 432.4 MB, free: 48.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4406, allocations: 24.47 kB / 432.4 MB, free: 48.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.4406, allocations: 36.34 kB / 432.4 MB, free: 48.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.4411, allocations: 0.5593 MB / 433 MB, free: 47.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4411, allocations: 0 / 433 MB, free: 47.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.4412, allocations: 20.72 kB / 433 MB, free: 47.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4412, allocations: 18.75 kB / 433 MB, free: 47.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.4415, allocations: 244.5 kB / 433.3 MB, free: 47.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009007/0.4424, allocations: 1.255 MB / 434.5 MB, free: 47.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.4428, allocations: 306.1 kB / 434.8 MB, free: 47.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.4428, allocations: 93.5 kB / 434.9 MB, free: 47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07345/0.5163, allocations: 70.95 MB / 0.494 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.5163, allocations: 42.61 kB / 0.4941 GB, free: 12.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.5163, allocations: 0 / 0.4941 GB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.002683/0.519, allocations: 1.501 MB / 0.4955 GB, free: 11.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.519, allocations: 62.86 kB / 0.4956 GB, free: 11.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5191, allocations: 220.4 kB / 0.4958 GB, free: 11.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.5192, allocations: 33.52 kB / 0.4958 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.5192, allocations: 190.8 kB / 0.496 GB, free: 10.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.5193, allocations: 278.7 kB / 0.4963 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.5193, allocations: 114.6 kB / 0.4964 GB, free: 10.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.5194, allocations: 357.8 kB / 0.4967 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.5195, allocations: 92.11 kB / 0.4968 GB, free: 10.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.5196, allocations: 207.8 kB / 0.497 GB, free: 9.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.5198, allocations: 379.8 kB / 0.4974 GB, free: 9.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5198, allocations: 4.875 kB / 0.4974 GB, free: 9.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003542/0.5201, allocations: 427 kB / 0.4978 GB, free: 9.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.5202, allocations: 12.03 kB / 0.4978 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5202, allocations: 0 / 0.4978 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.5204, allocations: 91.88 kB / 0.4979 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/0.5213, allocations: 334.9 kB / 0.4982 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.5235, allocations: 6.132 MB / 0.5042 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.5237, allocations: 14.92 kB / 0.5042 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.5237, allocations: 15.94 kB / 0.5042 GB, free: 2.629 MB / 394.7 MB 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 (51): * Single equations (assignments): 43 * 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, 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 9.747e-05/0.5238, allocations: 149.8 kB / 0.5044 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.5238, allocations: 39.22 kB / 0.5044 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.5253, allocations: 3.195 MB / 0.5075 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008463/0.5262, allocations: 1.39 MB / 0.5089 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.5262, allocations: 0 / 0.5089 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009061/0.5271, allocations: 1.684 MB / 0.5105 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.5286, allocations: 1.945 MB / 0.5124 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5286, allocations: 0 / 0.5124 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006966/0.5293, allocations: 265.9 kB / 0.5127 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.5293, allocations: 79.27 kB / 0.5127 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.5295, allocations: 34.94 kB / 0.5128 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.5295, allocations: 19.92 kB / 0.5128 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.5305, allocations: 2.34 MB / 0.5151 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5305, allocations: 0 / 0.5151 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/0.5315, allocations: 1.463 MB / 0.5165 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.5315, allocations: 19.03 kB / 0.5165 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.5316, allocations: 12.41 kB / 0.5165 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.5317, allocations: 39.8 kB / 0.5166 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5317, allocations: 15.67 kB / 0.5166 GB, free: 6.719 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.5318, allocations: 90.44 kB / 0.5167 GB, free: 6.641 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5318, allocations: 0 / 0.5167 GB, free: 6.641 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00283/0.5346, allocations: 1.244 MB / 0.5179 GB, free: 5.441 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.sat.liq.phase,volume.medium.state.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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002807/0.5374, allocations: 2.233 MB / 0.5201 GB, free: 3.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009707/0.5384, allocations: 0.9659 MB / 0.521 GB, free: 2.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.5384, allocations: 8 kB / 0.521 GB, free: 2.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.5388, allocations: 0.599 MB / 0.5216 GB, free: 1.961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.54, allocations: 1.483 MB / 0.5231 GB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.5468, allocations: 1.567 MB / 0.5246 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.5469, allocations: 206.7 kB / 0.5248 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002708/0.5472, allocations: 179.7 kB / 0.525 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.5476, allocations: 278.4 kB / 0.5252 GB, free: 14.23 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5476, allocations: 0 / 0.5252 GB, free: 14.23 MB / 426.7 MB Notification: Performance of Templates: time 0.04176/0.5893, allocations: 44.81 MB / 0.569 GB, free: 2.66 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.278465814888477]