Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.0006589/0.0006589, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008998/0.001559, allocations: 440 kB / 10.41 MB, free: 284 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.0006627/0.0006627, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009261/0.001589, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9271/0.9271, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08637/1.013, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007149/0.007149, allocations: 1.993 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001959/0.009107, allocations: 1.227 MB / 247.4 MB, free: 11.54 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.297e-05, allocations: 6.25 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.007302/0.007315, allocations: 9.668 MB / 258.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.009342, allocations: 3.188 MB / 261.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.0094, allocations: 0 / 261.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.009563, allocations: 99.31 kB / 261.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.01057, allocations: 0.6942 MB / 262.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.01089, allocations: 103.3 kB / 262.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.01115, allocations: 341.4 kB / 262.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.0112, allocations: 18.91 kB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.0113, allocations: 139.6 kB / 262.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.733e-05/0.0114, allocations: 87.7 kB / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.01142, allocations: 8 kB / 263 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.621/0.6324, allocations: 21.56 MB / 284.6 MB, free: 12.33 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolProp.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 4.856e-05/0.6324, allocations: 25.75 kB / 284.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.6326, allocations: 78.88 kB / 284.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.6333, allocations: 327.1 kB / 285 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.6334, allocations: 1 kB / 285 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6334, allocations: 0 / 285 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.6334, allocations: 0 / 285 MB, free: 12.33 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.0004721/0.6338, allocations: 0.5036 MB / 285.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.6339, allocations: 10.41 kB / 285.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.6345, allocations: 0.4965 MB / 286 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.6346, allocations: 132.3 kB / 286.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.6346, allocations: 15.03 kB / 286.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.6347, allocations: 28.3 kB / 286.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.6349, allocations: 218.9 kB / 286.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.6349, allocations: 3.969 kB / 286.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.6349, allocations: 14.55 kB / 286.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.6349, allocations: 14.41 kB / 286.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.628e-05/0.635, allocations: 99.28 kB / 286.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.6356, allocations: 0.6542 MB / 287.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/0.6357, allocations: 65.61 kB / 287.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.6357, allocations: 36.92 kB / 287.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.636, allocations: 458.1 kB / 287.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.636, allocations: 42.77 kB / 287.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.192e-06/0.636, allocations: 4 kB / 287.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001736/0.6362, allocations: 128.3 kB / 287.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.6362, allocations: 78.92 kB / 288 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.546e-05/0.6363, allocations: 112.9 kB / 288.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.6363, allocations: 29.95 kB / 288.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.6363, allocations: 160 kB / 288.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.6364, allocations: 108.7 kB / 288.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.6364, allocations: 40.42 kB / 288.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.6364, allocations: 326.9 kB / 288.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.6365, allocations: 14.08 kB / 288.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.6365, allocations: 67.67 kB / 288.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.085e-05/0.6366, allocations: 109.9 kB / 288.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6366, allocations: 0.9688 kB / 288.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001308/0.6367, allocations: 121.1 kB / 289 MB, free: 9.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6367, allocations: 9.625 kB / 289.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6367, allocations: 2.766 kB / 289.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6368, allocations: 6.344 kB / 289.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.6368, allocations: 12.03 kB / 289.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.6368, allocations: 2.891 kB / 289.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.6369, allocations: 11.27 kB / 289.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.6369, allocations: 6.281 kB / 289.1 MB, free: 9.934 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 6.156e-05/0.6369, allocations: 115.9 kB / 289.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.637, allocations: 11.23 kB / 289.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.637, allocations: 11.94 kB / 289.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.637, allocations: 2.609 kB / 289.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.637, allocations: 0 / 289.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.637, allocations: 5.531 kB / 289.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.6372, allocations: 127.9 kB / 289.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6372, allocations: 0.5469 kB / 289.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.6372, allocations: 4.891 kB / 289.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.6372, allocations: 13.09 kB / 289.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6372, allocations: 1.797 kB / 289.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.6372, allocations: 5.688 kB / 289.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6372, allocations: 0.9688 kB / 289.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6372, allocations: 1.156 kB / 289.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.6373, allocations: 275.8 kB / 289.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.6373, allocations: 2.469 kB / 289.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.6374, allocations: 7.938 kB / 289.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.6374, allocations: 4.641 kB / 289.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.6374, allocations: 3.391 kB / 289.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.15e-05/0.6374, allocations: 7.906 kB / 289.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6374, allocations: 1.031 kB / 289.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.6376, allocations: 88.5 kB / 289.8 MB, free: 9.469 MB / 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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003065/0.638, allocations: 183.9 kB / 290 MB, free: 9.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.6381, allocations: 190.2 kB / 290.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6381, allocations: 1.5 kB / 290.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.6382, allocations: 174 kB / 290.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.6386, allocations: 94.3 kB / 290.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.6415, allocations: 0.5116 MB / 290.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.832e-05/0.6416, allocations: 106.7 kB / 291 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.6417, allocations: 25.77 kB / 291 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.6418, allocations: 119.1 kB / 291.2 MB, free: 8.699 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6418, allocations: 0 / 291.2 MB, free: 8.699 MB / 266.7 MB Notification: Performance of Templates: time 0.006491/0.6483, allocations: 4.862 MB / 296 MB, free: 7.652 MB / 266.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.71051506139338]