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.000835/0.000835, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000981/0.001816, 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.0007243/0.0007243, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001748, 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.9941/0.9941, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1271/1.121, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.00894/0.00894, allocations: 2.089 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003403/0.01234, allocations: 1.273 MB / 247.5 MB, free: 11.4 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 2.405e-06/2.405e-06, allocations: 0 / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.219e-05, allocations: 2.312 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical): time 0.008554/0.008576, allocations: 10.06 MB / 258.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.0105, allocations: 3.184 MB / 262.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.01056, allocations: 4 kB / 262.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.01076, allocations: 107.2 kB / 262.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.01177, allocations: 0.6821 MB / 262.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.01217, allocations: 103.2 kB / 263 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.01243, allocations: 333.5 kB / 263.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.01249, allocations: 22.88 kB / 263.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.0126, allocations: 135.6 kB / 263.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.0127, allocations: 95.75 kB / 263.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.01272, allocations: 7.938 kB / 263.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9236/0.9363, allocations: 33.51 MB / 297.1 MB, free: 3.664 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.927e-05/0.9364, allocations: 24.31 kB / 297.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.9365, allocations: 78.16 kB / 297.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.9374, allocations: 325.1 kB / 297.5 MB, free: 3.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.956e-05/0.9374, allocations: 5.172 kB / 297.5 MB, free: 3.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.9374, allocations: 1.688 kB / 297.5 MB, free: 3.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.9374, allocations: 0 / 297.5 MB, free: 3.66 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.0004889/0.9379, allocations: 0.5027 MB / 298 MB, free: 3.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.938, allocations: 10.38 kB / 298 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/0.9386, allocations: 0.4955 MB / 298.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.9386, allocations: 131 kB / 298.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.9387, allocations: 18.97 kB / 298.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.9387, allocations: 22.31 kB / 298.7 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.9389, allocations: 222.3 kB / 298.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9389, allocations: 7.375 kB / 298.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.9389, allocations: 11.56 kB / 298.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.9389, allocations: 14.55 kB / 298.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.939, allocations: 95.8 kB / 299 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.9396, allocations: 0.667 MB / 299.7 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.9397, allocations: 57.16 kB / 299.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.9397, allocations: 40.62 kB / 299.8 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.94, allocations: 454.3 kB / 300.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.94, allocations: 40.16 kB / 300.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.282e-06/0.94, allocations: 0 / 300.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001745/0.9401, allocations: 134.3 kB / 300.4 MB, free: 2.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.9402, allocations: 77.62 kB / 300.4 MB, free: 2.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.764e-05/0.9402, allocations: 118.7 kB / 300.6 MB, free: 1.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-06/0.9402, allocations: 32.5 kB / 300.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.9403, allocations: 159.5 kB / 300.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.9403, allocations: 107.1 kB / 300.9 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.9403, allocations: 41.34 kB / 300.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.316e-05/0.9404, allocations: 323.4 kB / 301.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.9404, allocations: 14.31 kB / 301.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-05/0.9404, allocations: 63.33 kB / 301.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.9405, allocations: 110 kB / 301.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9405, allocations: 0 / 301.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 9.571e-05/0.9406, allocations: 121.2 kB / 301.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.9406, allocations: 9.906 kB / 301.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9406, allocations: 3.688 kB / 301.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.9406, allocations: 0 / 301.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.9407, allocations: 12.45 kB / 301.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.9407, allocations: 3.938 kB / 301.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.9407, allocations: 13.78 kB / 301.6 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.9407, allocations: 11.05 kB / 301.6 MB, free: 1.246 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.867e-05/0.9408, allocations: 120.2 kB / 301.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.9408, allocations: 8.359 kB / 301.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.941, allocations: 364.3 kB / 302 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001363/0.9411, allocations: 201 kB / 302.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.9412, allocations: 0 / 302.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9412, allocations: 2.25 kB / 302.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.9417, allocations: 0.7892 MB / 303 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.9417, allocations: 0 / 303 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.9417, allocations: 61.47 kB / 303.1 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.9418, allocations: 28.7 kB / 303.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9418, allocations: 0 / 303.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.9418, allocations: 7.453 kB / 303.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9418, allocations: 3.062 kB / 303.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9418, allocations: 0 / 303.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.942, allocations: 476.2 kB / 303.6 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.942, allocations: 8.016 kB / 303.6 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.9421, allocations: 7.938 kB / 303.6 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.9421, allocations: 29.45 kB / 303.6 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.9421, allocations: 11.44 kB / 303.7 MB, free: 128 kB / 266.7 MB Notification: Performance of sorting global known variables: time 1.049e-05/0.9421, allocations: 13.45 kB / 303.7 MB, free: 120 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.9421, allocations: 0 / 303.7 MB, free: 120 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.9423, allocations: 107 kB / 303.8 MB, free: 96 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.0003327/0.9426, allocations: 182.4 kB / 304 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.9428, allocations: 234.9 kB / 304.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9428, allocations: 0.75 kB / 304.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.9429, allocations: 120.1 kB / 304.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.9434, allocations: 184.1 kB / 304.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.9466, allocations: 0.6483 MB / 305.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.9467, allocations: 199.7 kB / 305.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.9469, allocations: 150.2 kB / 305.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of SimCode: time 9.51e-07/0.9469, allocations: 0 / 305.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of Templates: time 0.003811/0.9507, allocations: 3.538 MB / 309 MB, free: 12.73 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 > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.953742990270257]