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.0006851/0.0006851, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009284/0.001614, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006844/0.0006844, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008842/0.001569, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8759/0.8759, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08063/0.9565, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.04474/0.04474, allocations: 11.71 MB / 255.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004916/0.04965, allocations: 3.085 MB / 258.8 MB, free: 0.8242 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.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.354e-05, allocations: 2.312 kB / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.144/0.1441, allocations: 61.73 MB / 321.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0346/0.1787, allocations: 48.39 MB / 370.2 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.179, allocations: 11.94 kB / 370.2 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008214/0.1798, allocations: 434.5 kB / 370.6 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.1806, allocations: 0.5943 MB / 371.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03932/0.2199, allocations: 21.28 MB / 392.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.2213, allocations: 1.413 MB / 393.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2215, allocations: 89.69 kB / 394 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.226, allocations: 4.947 MB / 399 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.2264, allocations: 327 kB / 399.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.2264, allocations: 44 kB / 399.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02073/0.2471, allocations: 13.79 MB / 413.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2473, allocations: 103.6 kB / 413.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.2476, allocations: 195.8 kB / 413.4 MB, free: 9.863 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.2597, allocations: 5.669 MB / 419.1 MB, free: 4.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.2597, allocations: 0 / 419.1 MB, free: 4.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2597, allocations: 0 / 419.1 MB, free: 4.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.2597, allocations: 0 / 419.1 MB, free: 4.18 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.001721/0.2615, allocations: 2.123 MB / 421.2 MB, free: 2.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2615, allocations: 8.031 kB / 421.2 MB, free: 2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.2617, allocations: 95.69 kB / 421.3 MB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.2619, allocations: 248.8 kB / 421.5 MB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.262, allocations: 25 kB / 421.6 MB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.262, allocations: 39.94 kB / 421.6 MB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.2625, allocations: 0.5613 MB / 422.2 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2625, allocations: 3.938 kB / 422.2 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.2625, allocations: 19.94 kB / 422.2 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2626, allocations: 12 kB / 422.2 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.2629, allocations: 240.2 kB / 422.4 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1192/0.3821, allocations: 1.267 MB / 423.7 MB, free: 65.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.3827, allocations: 301.2 kB / 424 MB, free: 65.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3828, allocations: 93.19 kB / 424.1 MB, free: 65.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03621/0.419, allocations: 27.96 MB / 452.1 MB, free: 65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.419, allocations: 38.62 kB / 452.1 MB, free: 64.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 1.453e-06/0.419, allocations: 4 kB / 452.1 MB, free: 64.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.004339/0.4233, allocations: 2.01 MB / 454.1 MB, free: 64.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.544e-05/0.4234, allocations: 56.09 kB / 454.2 MB, free: 64.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4235, allocations: 213.4 kB / 454.4 MB, free: 64.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.4235, allocations: 33.58 kB / 454.4 MB, free: 64.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.4235, allocations: 179.5 kB / 454.6 MB, free: 64.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.4236, allocations: 297 kB / 454.9 MB, free: 64.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.4237, allocations: 109 kB / 455 MB, free: 64.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.4237, allocations: 352.8 kB / 455.3 MB, free: 63.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.4238, allocations: 85.53 kB / 455.4 MB, free: 63.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.4239, allocations: 198.5 kB / 455.6 MB, free: 63.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.4241, allocations: 360.8 kB / 455.9 MB, free: 63.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4241, allocations: 1.266 kB / 455.9 MB, free: 63.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007894/0.4249, allocations: 0.5206 MB / 456.5 MB, free: 63.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4249, allocations: 7.891 kB / 456.5 MB, free: 63.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4249, allocations: 3.875 kB / 456.5 MB, free: 63.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009193/0.4259, allocations: 288 kB / 456.8 MB, free: 63.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.4264, allocations: 213.7 kB / 457 MB, free: 63.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007569/0.4272, allocations: 3.46 MB / 460.4 MB, free: 60.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4273, allocations: 15.88 kB / 460.4 MB, free: 60.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.4273, allocations: 16.88 kB / 460.5 MB, free: 60.02 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,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,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 42 * 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 8.918e-05/0.4274, allocations: 143.2 kB / 460.6 MB, free: 59.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.4275, allocations: 38.92 kB / 460.6 MB, free: 59.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/0.4282, allocations: 1.27 MB / 461.9 MB, free: 59.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002607/0.4285, allocations: 416 kB / 462.3 MB, free: 59.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4285, allocations: 0 / 462.3 MB, free: 59.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002787/0.4287, allocations: 0.7211 MB / 463 MB, free: 59.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4298, allocations: 1.073 MB / 464.1 MB, free: 58.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4298, allocations: 1.625 kB / 464.1 MB, free: 58.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.4302, allocations: 164.6 kB / 464.3 MB, free: 58.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.4303, allocations: 42.28 kB / 464.3 MB, free: 58.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007412/0.431, allocations: 295.3 kB / 464.6 MB, free: 58.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.431, allocations: 16.47 kB / 464.6 MB, free: 58.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003299/0.4314, allocations: 1.68 MB / 466.3 MB, free: 57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4314, allocations: 0 / 466.3 MB, free: 57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.4321, allocations: 0.7495 MB / 467 MB, free: 56.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.4321, allocations: 10 kB / 467.1 MB, free: 56.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4322, allocations: 11.06 kB / 467.1 MB, free: 56.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.4323, allocations: 38.78 kB / 467.1 MB, free: 56.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4323, allocations: 14.33 kB / 467.1 MB, free: 56.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.4323, allocations: 84.06 kB / 467.2 MB, free: 56.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4323, allocations: 0 / 467.2 MB, free: 56.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001323/0.4337, allocations: 1.007 MB / 468.2 MB, free: 56.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.d,volume.medium.T) * Number of discrete variables: 10 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse1.phase,$cse2.phase,$cse3.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 (54): * Single equations (assignments): 48 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/0.4355, allocations: 1.773 MB / 470 MB, free: 55.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.436, allocations: 450.7 kB / 470.4 MB, free: 54.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.436, allocations: 11.52 kB / 470.4 MB, free: 54.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.4362, allocations: 272.5 kB / 470.7 MB, free: 54.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007644/0.4369, allocations: 453.3 kB / 471.1 MB, free: 54.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/0.4434, allocations: 1.003 MB / 472.1 MB, free: 53.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.44e-05/0.4435, allocations: 135.3 kB / 472.3 MB, free: 53.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.4437, allocations: 174.1 kB / 472.4 MB, free: 53.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.4441, allocations: 272.2 kB / 472.7 MB, free: 53.21 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4441, allocations: 4 kB / 472.7 MB, free: 53.21 MB / 394.7 MB Notification: Performance of Templates: time 0.03014/0.4742, allocations: 39.75 MB / 0.5005 GB, free: 16.02 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.702912215143442]