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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 191.9 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 222 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04156/0.04156, allocations: 9.086 MB / 278.4 MB, free: 12.41 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.84 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06941/0.07065, allocations: 48.16 MB / 385.5 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2517/0.3223, allocations: 130.5 MB / 0.5039 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2925/0.6149, allocations: 113 MB / 0.6142 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.6154, allocations: 7.219 kB / 0.6142 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.618, allocations: 1.186 MB / 0.6154 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.6208, allocations: 1.476 MB / 0.6168 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05635/0.6772, allocations: 24.87 MB / 0.6411 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.679, allocations: 1.837 MB / 0.6429 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.6792, allocations: 102 kB / 0.643 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.68, allocations: 0.5192 MB / 0.6435 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.6804, allocations: 387.4 kB / 0.6439 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.6805, allocations: 24.08 kB / 0.6439 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04955/0.73, allocations: 31.15 MB / 0.6743 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.7303, allocations: 101 kB / 0.6744 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005884/0.7309, allocations: 291.6 kB / 0.6747 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03633/0.7672, allocations: 13.5 MB / 0.6879 GB, free: 3.621 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7672, allocations: 4 kB / 0.6879 GB, free: 3.617 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7673, allocations: 0 / 0.6879 GB, free: 3.617 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.7673, allocations: 4 kB / 0.6879 GB, free: 3.613 MB / 478.1 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.005459/0.7727, allocations: 2.562 MB / 0.6904 GB, free: 1.008 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.7728, allocations: 8.031 kB / 0.6904 GB, free: 1 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.7734, allocations: 91.33 kB / 0.6905 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.7737, allocations: 343 kB / 0.6908 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.7738, allocations: 24.66 kB / 0.6908 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.7739, allocations: 36 kB / 0.6909 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.7751, allocations: 0.6002 MB / 0.6915 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.7751, allocations: 3.312 kB / 0.6915 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.7752, allocations: 12 kB / 0.6915 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.7752, allocations: 14.27 kB / 0.6915 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.7765, allocations: 0.5558 MB / 0.692 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.7788, allocations: 2.546 MB / 0.6945 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.7799, allocations: 0.5099 MB / 0.695 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/0.7804, allocations: 338.3 kB / 0.6953 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3783/1.159, allocations: 139 MB / 0.8311 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/1.159, allocations: 40.62 kB / 0.8311 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.405e-06/1.159, allocations: 0 / 0.8311 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.005521/1.164, allocations: 2.333 MB / 0.8334 GB, free: 288.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/1.164, allocations: 55.25 kB / 0.8334 GB, free: 288.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/1.165, allocations: 252.8 kB / 0.8337 GB, free: 288.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/1.165, allocations: 35.05 kB / 0.8337 GB, free: 288.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/1.165, allocations: 178.5 kB / 0.8339 GB, free: 287.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.165, allocations: 276.1 kB / 0.8341 GB, free: 287.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.165, allocations: 93.17 kB / 0.8342 GB, free: 287.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.714e-05/1.165, allocations: 352.4 kB / 0.8346 GB, free: 287.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/1.166, allocations: 276 kB / 0.8348 GB, free: 287.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/1.166, allocations: 388.2 kB / 0.8352 GB, free: 286.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/1.167, allocations: 0.6954 MB / 0.8359 GB, free: 286.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.167, allocations: 0.5469 kB / 0.8359 GB, free: 286.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001305/1.168, allocations: 0.7999 MB / 0.8367 GB, free: 286 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.168, allocations: 7.906 kB / 0.8367 GB, free: 286 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.168, allocations: 0 / 0.8367 GB, free: 286 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/1.169, allocations: 69.36 kB / 0.8367 GB, free: 286 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.169, allocations: 102.6 kB / 0.8368 GB, free: 285.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09018/1.259, allocations: 22.06 MB / 0.8584 GB, free: 269.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/1.26, allocations: 59.05 kB / 0.8584 GB, free: 269 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/1.26, allocations: 16 kB / 0.8584 GB, free: 269 MB / 0.5919 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.0002286/1.26, allocations: 185.7 kB / 0.8586 GB, free: 268.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.79e-05/1.26, allocations: 47.42 kB / 0.8587 GB, free: 268.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/1.262, allocations: 1.541 MB / 0.8602 GB, free: 267.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.262, allocations: 15.92 kB / 0.8602 GB, free: 267.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.262, allocations: 0 / 0.8602 GB, free: 267.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/1.263, allocations: 1.151 MB / 0.8613 GB, free: 265.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/1.265, allocations: 1.588 MB / 0.8629 GB, free: 264.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.265, allocations: 0 / 0.8629 GB, free: 264.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/1.265, allocations: 83.88 kB / 0.8629 GB, free: 264.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/1.265, allocations: 44.75 kB / 0.863 GB, free: 264.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/1.265, allocations: 15.98 kB / 0.863 GB, free: 264.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006729/1.266, allocations: 1.323 MB / 0.8643 GB, free: 262.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.266, allocations: 0 / 0.8643 GB, free: 262.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/1.268, allocations: 1.184 MB / 0.8654 GB, free: 261.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/1.268, allocations: 108.6 kB / 0.8655 GB, free: 261.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/1.268, allocations: 13.03 kB / 0.8656 GB, free: 261.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/1.268, allocations: 35.97 kB / 0.8656 GB, free: 261.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/1.268, allocations: 47.94 kB / 0.8656 GB, free: 261.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/1.268, allocations: 15.98 kB / 0.8657 GB, free: 261.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001821/1.268, allocations: 243 kB / 0.8659 GB, free: 261 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/1.268, allocations: 0 / 0.8659 GB, free: 261 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00787/1.276, allocations: 3.187 MB / 0.869 GB, free: 258.2 MB / 0.5919 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.01414/1.291, allocations: 4.02 MB / 0.8729 GB, free: 254.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.292, allocations: 0.9577 MB / 0.8739 GB, free: 253.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.292, allocations: 3.938 kB / 0.8739 GB, free: 253.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007349/1.293, allocations: 491.3 kB / 0.8743 GB, free: 253.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.295, allocations: 395.7 kB / 0.8747 GB, free: 252.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/1.296, allocations: 1.358 MB / 0.876 GB, free: 251.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/1.297, allocations: 0.8526 MB / 0.8769 GB, free: 250.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004038/1.297, allocations: 164.2 kB / 0.877 GB, free: 250.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/1.297, allocations: 43.42 kB / 0.8771 GB, free: 250.3 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/1.297, allocations: 3.938 kB / 0.8771 GB, free: 250.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1226/1.42, allocations: 117.4 MB / 0.9917 GB, free: 132.8 MB / 0.5919 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)