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.0007813/0.0007813, allocations: 76.16 kB / 9.862 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001865, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007307/0.0007307, allocations: 141.2 kB / 11.17 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009734/0.001704, allocations: 475.6 kB / 11.64 MB, free: 2.527 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.9169/0.9169, allocations: 177.1 MB / 189.5 MB, free: 5.34 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08552/1.002, allocations: 53.66 MB / 243.2 MB, free: 15.61 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.04404/0.04404, allocations: 11.71 MB / 255.6 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005918/0.04996, allocations: 3.084 MB / 258.7 MB, free: 0.8594 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.362e-06/1.362e-06, allocations: 0 / 260 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.568e-05, allocations: 13.06 kB / 260 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.1596/0.1596, allocations: 61.8 MB / 321.8 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03489/0.1945, allocations: 48.59 MB / 370.4 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.1948, allocations: 11.94 kB / 370.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009231/0.1957, allocations: 470.5 kB / 370.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009097/0.1966, allocations: 0.6646 MB / 371.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04409/0.2407, allocations: 23.83 MB / 395.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.242, allocations: 1.503 MB / 396.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.2422, allocations: 93.69 kB / 397 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/0.2469, allocations: 5.017 MB / 402 MB, free: 5.246 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005874/0.2475, allocations: 327 kB / 402.3 MB, free: 4.926 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.2475, allocations: 44 kB / 402.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0331/0.2806, allocations: 18 MB / 420.4 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.2808, allocations: 107.6 kB / 420.5 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.2814, allocations: 187.8 kB / 420.6 MB, free: 2.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1548/0.4361, allocations: 7.114 MB / 427.8 MB, free: 51.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.4362, allocations: 0.5156 kB / 427.8 MB, free: 51.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4362, allocations: 0.7188 kB / 427.8 MB, free: 51.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.783e-05/0.4362, allocations: 0 / 427.8 MB, free: 51.62 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.004968/0.4412, allocations: 2.499 MB / 430.3 MB, free: 50.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.4412, allocations: 9.969 kB / 430.3 MB, free: 50.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.4415, allocations: 90.64 kB / 430.4 MB, free: 50.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.4418, allocations: 241.7 kB / 430.6 MB, free: 50.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.4418, allocations: 32.09 kB / 430.6 MB, free: 50.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.4419, allocations: 34.88 kB / 430.7 MB, free: 50.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.4425, allocations: 0.5568 MB / 431.2 MB, free: 50.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4425, allocations: 1 kB / 431.2 MB, free: 50.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4425, allocations: 19.47 kB / 431.2 MB, free: 50.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.4426, allocations: 24.73 kB / 431.3 MB, free: 50.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.443, allocations: 246.4 kB / 431.5 MB, free: 50.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.4441, allocations: 1.256 MB / 432.8 MB, free: 49.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.4445, allocations: 311.5 kB / 433.1 MB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.4446, allocations: 89.25 kB / 433.1 MB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07517/0.5197, allocations: 70.78 MB / 0.4921 GB, free: 16.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.5198, allocations: 34.31 kB / 0.4921 GB, free: 16.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.786e-06/0.5198, allocations: 8 kB / 0.4922 GB, free: 16.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.003009/0.5228, allocations: 1.478 MB / 0.4936 GB, free: 15.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.5228, allocations: 55.73 kB / 0.4937 GB, free: 14.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.5229, allocations: 224.2 kB / 0.4939 GB, free: 14.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.523, allocations: 37.33 kB / 0.4939 GB, free: 14.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.523, allocations: 180.1 kB / 0.4941 GB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-05/0.5231, allocations: 288.3 kB / 0.4943 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.5232, allocations: 116 kB / 0.4945 GB, free: 14.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.5232, allocations: 363 kB / 0.4948 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.5233, allocations: 91.86 kB / 0.4949 GB, free: 13.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.5234, allocations: 205.3 kB / 0.4951 GB, free: 13.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.5237, allocations: 370.7 kB / 0.4954 GB, free: 13.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5237, allocations: 4 kB / 0.4954 GB, free: 13.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003802/0.524, allocations: 434.1 kB / 0.4959 GB, free: 12.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5241, allocations: 8 kB / 0.4959 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5241, allocations: 2.406 kB / 0.4959 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.5243, allocations: 88.84 kB / 0.496 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.5253, allocations: 334.5 kB / 0.4963 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.528, allocations: 6.12 MB / 0.5022 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.5282, allocations: 15.81 kB / 0.5023 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.5283, allocations: 23.8 kB / 0.5023 GB, free: 6.301 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 0.0001256/0.5284, allocations: 146.9 kB / 0.5024 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.5284, allocations: 35.89 kB / 0.5025 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.5299, allocations: 3.202 MB / 0.5056 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006667/0.5306, allocations: 1.387 MB / 0.5069 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5306, allocations: 0 / 0.5069 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006788/0.5312, allocations: 1.685 MB / 0.5086 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.5331, allocations: 1.945 MB / 0.5105 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5331, allocations: 4.562 kB / 0.5105 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.534, allocations: 254 kB / 0.5107 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.5341, allocations: 36.38 kB / 0.5108 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5341, allocations: 15.3 kB / 0.5108 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008953/0.535, allocations: 2.343 MB / 0.5131 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.535, allocations: 0 / 0.5131 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5361, allocations: 1.461 MB / 0.5145 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.5362, allocations: 71.34 kB / 0.5146 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.5362, allocations: 7 kB / 0.5146 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5363, allocations: 13.75 kB / 0.5146 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.5364, allocations: 39.23 kB / 0.5146 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.5364, allocations: 19.42 kB / 0.5146 GB, free: 10.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.257e-05/0.5365, allocations: 91.12 kB / 0.5147 GB, free: 10.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5365, allocations: 0 / 0.5147 GB, free: 10.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00388/0.5404, allocations: 1.246 MB / 0.5159 GB, free: 9.137 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.005275/0.5457, allocations: 2.231 MB / 0.5181 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.5467, allocations: 0.9501 MB / 0.5191 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.5467, allocations: 0 / 0.5191 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.5472, allocations: 0.5643 MB / 0.5196 GB, free: 5.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000998/0.5482, allocations: 461.3 kB / 0.52 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.5501, allocations: 1.599 MB / 0.5216 GB, free: 3.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.5503, allocations: 206.3 kB / 0.5218 GB, free: 3.648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.5506, allocations: 190.9 kB / 0.522 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/0.551, allocations: 276 kB / 0.5222 GB, free: 3.207 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.551, allocations: 0 / 0.5222 GB, free: 3.207 MB / 410.7 MB Notification: Performance of Templates: time 0.04591/0.5969, allocations: 44.73 MB / 0.5659 GB, free: 7.676 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.389668369665742]