Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04651/0.04651, allocations: 9.093 MB / 25.82 MB, free: 3.41 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 103.5 kB / 282.1 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 59.91 kB / 341.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2943, allocations: 48.15 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.4598/0.7542, allocations: 130.5 MB / 0.5076 GB, free: 1.551 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.09521/0.8495, allocations: 113 MB / 0.6179 GB, free: 15.63 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.8502, allocations: 4 kB / 0.6179 GB, free: 15.62 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.8536, allocations: 1.19 MB / 0.619 GB, free: 14.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0039/0.8575, allocations: 1.474 MB / 0.6205 GB, free: 12.95 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08133/0.9389, allocations: 24.87 MB / 0.6448 GB, free: 4 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.9417, allocations: 1.85 MB / 0.6466 GB, free: 2.145 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.9421, allocations: 98.47 kB / 0.6467 GB, free: 2.051 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.9434, allocations: 0.5251 MB / 0.6472 GB, free: 1.523 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.944, allocations: 390.4 kB / 0.6475 GB, free: 1.141 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.944, allocations: 20 kB / 0.6476 GB, free: 1.121 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06308/1.007, allocations: 31.16 MB / 0.678 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003253/1.007, allocations: 91.59 kB / 0.6781 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006985/1.008, allocations: 286.8 kB / 0.6784 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4003/1.409, allocations: 13.5 MB / 0.6915 GB, free: 40.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.409, allocations: 2.281 kB / 0.6915 GB, free: 40.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.166e-06/1.409, allocations: 0 / 0.6915 GB, free: 40.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/1.409, allocations: 0 / 0.6915 GB, free: 40.05 MB / 490.7 MB 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.008145/1.417, allocations: 2.571 MB / 0.694 GB, free: 38.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.417, allocations: 8.375 kB / 0.6941 GB, free: 38.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005862/1.417, allocations: 87.7 kB / 0.6941 GB, free: 38.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/1.418, allocations: 334.7 kB / 0.6945 GB, free: 38.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/1.418, allocations: 32.25 kB / 0.6945 GB, free: 38.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/1.418, allocations: 30.81 kB / 0.6945 GB, free: 38.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/1.419, allocations: 0.6024 MB / 0.6951 GB, free: 38.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/1.419, allocations: 8.188 kB / 0.6951 GB, free: 38.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/1.419, allocations: 11.12 kB / 0.6951 GB, free: 38.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/1.419, allocations: 20.02 kB / 0.6951 GB, free: 38.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/1.42, allocations: 0.5504 MB / 0.6957 GB, free: 38.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/1.423, allocations: 2.538 MB / 0.6982 GB, free: 36.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.424, allocations: 0.497 MB / 0.6986 GB, free: 36.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/1.425, allocations: 346.6 kB / 0.699 GB, free: 36.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2532/1.678, allocations: 139 MB / 0.8347 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/1.678, allocations: 34.66 kB / 0.8347 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=79): time 4.579e-06/1.678, allocations: 1.875 kB / 0.8347 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.006503/1.685, allocations: 2.324 MB / 0.837 GB, free: 17.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.685, allocations: 55.41 kB / 0.8371 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/1.685, allocations: 261.7 kB / 0.8373 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/1.685, allocations: 33.45 kB / 0.8373 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/1.685, allocations: 181.2 kB / 0.8375 GB, free: 17.01 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/1.685, allocations: 268 kB / 0.8378 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/1.685, allocations: 103.6 kB / 0.8379 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.686, allocations: 359.2 kB / 0.8382 GB, free: 16.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/1.686, allocations: 271 kB / 0.8385 GB, free: 16.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/1.687, allocations: 406.5 kB / 0.8389 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/1.688, allocations: 0.698 MB / 0.8395 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.688, allocations: 0 / 0.8395 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001452/1.689, allocations: 0.7801 MB / 0.8403 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.689, allocations: 4 kB / 0.8403 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.689, allocations: 6.766 kB / 0.8403 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/1.69, allocations: 64.83 kB / 0.8404 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/1.69, allocations: 101.3 kB / 0.8405 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09689/1.787, allocations: 22.08 MB / 0.862 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/1.788, allocations: 50.23 kB / 0.8621 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/1.788, allocations: 16.19 kB / 0.8621 GB, free: 8.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004771/1.788, allocations: 197.2 kB / 0.8623 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/1.788, allocations: 43.47 kB / 0.8623 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/1.791, allocations: 1.542 MB / 0.8638 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/1.791, allocations: 13.92 kB / 0.8638 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.791, allocations: 0 / 0.8638 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/1.792, allocations: 1.139 MB / 0.865 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/1.795, allocations: 1.592 MB / 0.8665 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.795, allocations: 3.938 kB / 0.8665 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/1.795, allocations: 85.66 kB / 0.8666 GB, free: 5.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/1.796, allocations: 44.41 kB / 0.8666 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/1.796, allocations: 13.36 kB / 0.8667 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/1.797, allocations: 1.327 MB / 0.8679 GB, free: 3.602 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.797, allocations: 0 / 0.8679 GB, free: 3.602 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03894/1.836, allocations: 11.03 MB / 0.8787 GB, free: 9.691 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/1.836, allocations: 116.5 kB / 0.8788 GB, free: 9.559 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.836, allocations: 15.17 kB / 0.8788 GB, free: 9.551 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/1.836, allocations: 43.44 kB / 0.8789 GB, free: 9.512 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.837, allocations: 46.12 kB / 0.8789 GB, free: 9.473 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/1.837, allocations: 11.38 kB / 0.8789 GB, free: 9.465 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.0003157/1.837, allocations: 240.4 kB / 0.8792 GB, free: 9.281 MB / 0.6199 GB Notification: Performance of sort global known variables: time 2.6e-07/1.837, allocations: 1.859 kB / 0.8792 GB, free: 9.281 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.01326/1.85, allocations: 3.294 MB / 0.8824 GB, free: 6.137 MB / 0.6199 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: 9 ($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 (40): * 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: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02156/1.872, allocations: 4.011 MB / 0.8863 GB, free: 2.699 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.002196/1.874, allocations: 0.9512 MB / 0.8872 GB, free: 1.988 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.874, allocations: 0 / 0.8872 GB, free: 1.988 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/1.875, allocations: 495.1 kB / 0.8877 GB, free: 1.641 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/1.877, allocations: 403.9 kB / 0.8881 GB, free: 1.293 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2125/2.09, allocations: 1.963 MB / 0.89 GB, free: 338 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/2.09, allocations: 0.872 MB / 0.8909 GB, free: 337.3 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.000753/2.091, allocations: 165 kB / 0.891 GB, free: 337.3 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/2.091, allocations: 41.59 kB / 0.8911 GB, free: 337.3 MB / 0.6199 GB Notification: Performance of SimCode: time 1.804e-06/2.091, allocations: 1.125 kB / 0.8911 GB, free: 337.3 MB / 0.6199 GB Notification: Performance of Templates: time 0.1401/2.231, allocations: 118.7 MB / 1.007 GB, free: 238.8 MB / 0.6199 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1)