Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical.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.0009584/0.0009584, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002393, allocations: 451.9 kB / 10.44 MB, free: 252 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.001005/0.001005, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002326, allocations: 475.5 kB / 11.81 MB, free: 2.359 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.8647/0.8647, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08271/0.9474, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.008365/0.008365, allocations: 2.084 MB / 246.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002278/0.01064, allocations: 1.27 MB / 247.5 MB, free: 11.38 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 248.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.522e-05, allocations: 2.312 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical): time 0.006813/0.006828, allocations: 10.07 MB / 258.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.008688, allocations: 3.18 MB / 262.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.008757, allocations: 0 / 262.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.008931, allocations: 103.3 kB / 262.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.01003, allocations: 0.6937 MB / 262.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.01039, allocations: 99.28 kB / 263 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.01064, allocations: 337.5 kB / 263.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.01069, allocations: 18.84 kB / 263.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.01079, allocations: 139.6 kB / 263.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.01087, allocations: 87.77 kB / 263.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.01089, allocations: 8 kB / 263.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8762/0.887, allocations: 33.52 MB / 297.1 MB, free: 3.609 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.8871, allocations: 24.83 kB / 297.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.8872, allocations: 77.33 kB / 297.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008487/0.8881, allocations: 327 kB / 297.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.899e-05/0.8881, allocations: 0 / 297.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8881, allocations: 2.938 kB / 297.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.8881, allocations: 0 / 297.5 MB, free: 3.609 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0004798/0.8886, allocations: 0.5007 MB / 298 MB, free: 3.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.8886, allocations: 7.188 kB / 298 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/0.8892, allocations: 0.4964 MB / 298.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/0.8893, allocations: 140.1 kB / 298.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.8893, allocations: 18.7 kB / 298.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.8894, allocations: 21.41 kB / 298.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.8896, allocations: 224.6 kB / 298.9 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8896, allocations: 0.6562 kB / 298.9 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8896, allocations: 12.97 kB / 298.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.8896, allocations: 13.34 kB / 298.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.25e-05/0.8897, allocations: 95.86 kB / 299 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.8902, allocations: 0.6581 MB / 299.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/0.8903, allocations: 60.38 kB / 299.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.8903, allocations: 46.42 kB / 299.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.8906, allocations: 459 kB / 300.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.8906, allocations: 40.39 kB / 300.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.183e-06/0.8906, allocations: 4 kB / 300.3 MB, free: 2.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001653/0.8908, allocations: 133.8 kB / 300.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.8908, allocations: 80.7 kB / 300.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.217e-05/0.8909, allocations: 108.2 kB / 300.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-06/0.8909, allocations: 25.7 kB / 300.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.8909, allocations: 163.2 kB / 300.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.891, allocations: 107.7 kB / 300.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.891, allocations: 39.16 kB / 300.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.948e-05/0.891, allocations: 322.3 kB / 301.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.891, allocations: 14.53 kB / 301.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.8911, allocations: 71.19 kB / 301.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.018e-05/0.8911, allocations: 101.9 kB / 301.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.8911, allocations: 0 / 301.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 9.819e-05/0.8912, allocations: 128.1 kB / 301.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.8912, allocations: 11.31 kB / 301.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.8912, allocations: 192 / 301.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.8913, allocations: 7.125 kB / 301.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.8913, allocations: 14.94 kB / 301.6 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.8913, allocations: 1.031 kB / 301.6 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.8913, allocations: 12.36 kB / 301.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.8913, allocations: 2.5 kB / 301.6 MB, free: 1.195 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 4.644e-05/0.8914, allocations: 120.1 kB / 301.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.8914, allocations: 11.56 kB / 301.7 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.8916, allocations: 362.1 kB / 302.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001158/0.8918, allocations: 197.7 kB / 302.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.8918, allocations: 4.891 kB / 302.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.8918, allocations: 1.125 kB / 302.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.8923, allocations: 0.7903 MB / 303 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8923, allocations: 0.9375 kB / 303.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.8924, allocations: 56.7 kB / 303.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.8924, allocations: 33.14 kB / 303.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.8924, allocations: 6.969 kB / 303.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.8924, allocations: 7.812 kB / 303.2 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.8924, allocations: 1.312 kB / 303.2 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8924, allocations: 0.6562 kB / 303.2 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.8926, allocations: 476.6 kB / 303.6 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.8926, allocations: 7.156 kB / 303.6 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.8927, allocations: 3.062 kB / 303.6 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.8927, allocations: 23.45 kB / 303.7 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.8927, allocations: 11.83 kB / 303.7 MB, free: 80 kB / 266.7 MB Notification: Performance of sorting global known variables: time 1.059e-05/0.8927, allocations: 9.547 kB / 303.7 MB, free: 72 kB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.8927, allocations: 0 / 303.7 MB, free: 72 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.893, allocations: 109 kB / 303.8 MB, free: 48 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003464/0.8933, allocations: 186.9 kB / 304 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.8935, allocations: 214.7 kB / 304.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.8935, allocations: 3.656 kB / 304.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.8937, allocations: 103.4 kB / 304.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.8942, allocations: 196.2 kB / 304.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.8973, allocations: 0.6229 MB / 305.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.13e-05/0.8974, allocations: 110.2 kB / 305.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.8975, allocations: 28.53 kB / 305.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.8977, allocations: 149.8 kB / 305.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.8977, allocations: 0 / 305.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of Templates: time 0.007895/0.9056, allocations: 6.859 MB / 312.2 MB, free: 9.598 MB / 282.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.976034313440323]