Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001283/0.001283, allocations: 191.4 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01116/0.01116, allocations: 2.777 MB / 293.8 MB, free: 12.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 55.91 kB / 355.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2191, allocations: 50.24 MB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.006817/0.2259, allocations: 8.109 MB / 413.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005125/0.2265, allocations: 0.9497 MB / 414.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.2265, allocations: 0 / 414.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.2267, allocations: 75.58 kB / 414.4 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.501e-05/0.2268, allocations: 27.77 kB / 414.5 MB, free: 23.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.227, allocations: 111.2 kB / 414.6 MB, free: 23.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.2271, allocations: 51.67 kB / 414.6 MB, free: 23.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.2272, allocations: 7.984 kB / 414.6 MB, free: 23.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.2272, allocations: 19.88 kB / 414.7 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.2272, allocations: 19.94 kB / 414.7 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.2273, allocations: 0 / 414.7 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07748/0.3047, allocations: 13.54 MB / 428.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.3048, allocations: 3.938 kB / 428.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.3049, allocations: 23.88 kB / 428.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.3052, allocations: 87.7 kB / 428.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3052, allocations: 4 kB / 428.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3052, allocations: 0 / 428.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3052, allocations: 0 / 428.3 MB, free: 11.13 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000363/0.3056, allocations: 367.3 kB / 428.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3056, allocations: 12.03 kB / 428.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.3058, allocations: 20.83 kB / 428.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.854e-05/0.3058, allocations: 160.4 kB / 428.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3059, allocations: 4.312 kB / 428.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.3059, allocations: 7.938 kB / 428.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.306, allocations: 69.66 kB / 429 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.306, allocations: 0 / 429 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.306, allocations: 4 kB / 429 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3061, allocations: 4 kB / 429 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.3061, allocations: 35.98 kB / 429 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.3065, allocations: 317.4 kB / 429.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.694e-05/0.3065, allocations: 46.56 kB / 429.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.3066, allocations: 32.86 kB / 429.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3066, allocations: 0 / 429.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3066, allocations: 38.5 kB / 429.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 9.12e-07/0.3066, allocations: 0 / 429.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002143/0.3068, allocations: 117.7 kB / 429.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3069, allocations: 55.39 kB / 429.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.95e-05/0.3069, allocations: 93.77 kB / 429.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.3069, allocations: 25.7 kB / 429.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.3069, allocations: 84.14 kB / 429.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.307, allocations: 55.19 kB / 429.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.307, allocations: 29.7 kB / 429.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.3071, allocations: 314.8 kB / 430.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.3071, allocations: 20 kB / 430.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.3071, allocations: 19.98 kB / 430.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/0.3072, allocations: 56.72 kB / 430.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3072, allocations: 0 / 430.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.986e-05/0.3073, allocations: 94.06 kB / 430.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3073, allocations: 4 kB / 430.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3074, allocations: 3.984 kB / 430.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3074, allocations: 8 kB / 430.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.3074, allocations: 4 kB / 430.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3074, allocations: 3.984 kB / 430.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.3075, allocations: 7.875 kB / 430.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3075, allocations: 4 kB / 430.4 MB, free: 8.824 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.3076, allocations: 109.8 kB / 430.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3076, allocations: 7.906 kB / 430.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.3076, allocations: 8.438 kB / 430.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3076, allocations: 0 / 430.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3076, allocations: 4 kB / 430.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3076, allocations: 7.875 kB / 430.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3078, allocations: 182 kB / 430.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3078, allocations: 0 / 430.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.3078, allocations: 0 / 430.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3078, allocations: 4 kB / 430.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3078, allocations: 0 / 430.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3078, allocations: 0 / 430.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3078, allocations: 0 / 430.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.308, allocations: 195.3 kB / 430.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.308, allocations: 84.95 kB / 431 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.308, allocations: 0 / 431 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.3081, allocations: 8 kB / 431 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3081, allocations: 0 / 431 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3081, allocations: 7.922 kB / 431 MB, free: 8.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.03e-05/0.3081, allocations: 75.28 kB / 431.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3081, allocations: 7.938 kB / 431.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3084, allocations: 16 kB / 431.1 MB, free: 8.027 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000213/0.3086, allocations: 132.3 kB / 431.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.3088, allocations: 113.6 kB / 431.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3088, allocations: 4 kB / 431.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.3088, allocations: 86.44 kB / 431.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3099, allocations: 39.84 kB / 431.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.3104, allocations: 317.4 kB / 431.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.3106, allocations: 0.7162 MB / 432.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.3106, allocations: 15.44 kB / 432.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3106, allocations: 0 / 432.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of Templates: time 0.002733/0.3133, allocations: 1.619 MB / 434.1 MB, free: 4.934 MB / 302.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1)