Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.0008702/0.0008702, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00734/0.00821, 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.0009052/0.0009052, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003806/0.004711, 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.9411/0.9411, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07805/1.019, 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.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.007064/0.007064, allocations: 1.987 MB / 246.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00191/0.008975, allocations: 1.231 MB / 247.4 MB, free: 11.52 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.538e-05, allocations: 2.312 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01062/0.01064, allocations: 9.672 MB / 258.4 MB, free: 488 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.01363, allocations: 3.188 MB / 261.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.0137, allocations: 0 / 261.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.01386, allocations: 103.2 kB / 261.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007624/0.01462, allocations: 0.6981 MB / 262.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.01488, allocations: 99.27 kB / 262.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.0151, allocations: 333.5 kB / 262.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.01515, allocations: 22.83 kB / 262.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-05/0.01525, allocations: 139.6 kB / 262.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.01534, allocations: 91.75 kB / 263 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.01536, allocations: 8 kB / 263 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6105/0.6259, allocations: 21.56 MB / 284.6 MB, free: 12.4 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.829e-05/0.6259, allocations: 22.53 kB / 284.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.626, allocations: 81.19 kB / 284.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007475/0.6268, allocations: 323.5 kB / 285 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.6268, allocations: 0 / 285 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6268, allocations: 6.703 kB / 285 MB, free: 12.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.6268, allocations: 0.7031 kB / 285 MB, free: 12.4 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.0004467/0.6273, allocations: 0.5004 MB / 285.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.6273, allocations: 10.75 kB / 285.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.6279, allocations: 0.4989 MB / 286 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.628, allocations: 132.7 kB / 286.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.628, allocations: 21.03 kB / 286.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.628, allocations: 24.25 kB / 286.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.6283, allocations: 222.4 kB / 286.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.6283, allocations: 0.6094 kB / 286.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6283, allocations: 14.5 kB / 286.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.6283, allocations: 9.531 kB / 286.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.6284, allocations: 100.7 kB / 286.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.629, allocations: 0.6603 MB / 287.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.629, allocations: 57.81 kB / 287.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.6291, allocations: 43.5 kB / 287.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.6293, allocations: 458 kB / 287.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.6293, allocations: 41.42 kB / 287.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 8.62e-07/0.6293, allocations: 0 / 287.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001693/0.6295, allocations: 136.4 kB / 287.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.6295, allocations: 78.95 kB / 288 MB, free: 10.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.6296, allocations: 110.2 kB / 288.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.6296, allocations: 26.83 kB / 288.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.6296, allocations: 161.4 kB / 288.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.6297, allocations: 102.5 kB / 288.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.6297, allocations: 49.98 kB / 288.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.684e-05/0.6297, allocations: 321 kB / 288.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.6297, allocations: 13.89 kB / 288.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.6298, allocations: 63.73 kB / 288.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.798e-05/0.6298, allocations: 113.4 kB / 288.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6298, allocations: 1.281 kB / 288.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000102/0.6299, allocations: 117.6 kB / 289 MB, free: 10.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6299, allocations: 10.41 kB / 289 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.63, allocations: 5.281 kB / 289.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.63, allocations: 2.281 kB / 289.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.63, allocations: 15.58 kB / 289.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.63, allocations: 2.734 kB / 289.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.6301, allocations: 11.48 kB / 289.1 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.6301, allocations: 3.938 kB / 289.1 MB, free: 10 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.605e-05/0.6301, allocations: 112.7 kB / 289.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.6301, allocations: 12.11 kB / 289.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.6302, allocations: 9.953 kB / 289.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6302, allocations: 1.984 kB / 289.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.6302, allocations: 4 kB / 289.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6302, allocations: 2.25 kB / 289.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.6303, allocations: 130.9 kB / 289.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6303, allocations: 1.5 kB / 289.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.6303, allocations: 3.203 kB / 289.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.6303, allocations: 17.84 kB / 289.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.6303, allocations: 1.531 kB / 289.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.6303, allocations: 4.547 kB / 289.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6303, allocations: 1.562 kB / 289.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6303, allocations: 0 / 289.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.6304, allocations: 284.2 kB / 289.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.6305, allocations: 4.797 kB / 289.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.6305, allocations: 4.844 kB / 289.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.6305, allocations: 3.688 kB / 289.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.6305, allocations: 2.656 kB / 289.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.014e-05/0.6305, allocations: 9.328 kB / 289.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6305, allocations: 0 / 289.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.6307, allocations: 88.81 kB / 289.8 MB, free: 9.531 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.0002797/0.631, allocations: 172.3 kB / 289.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.6312, allocations: 184.4 kB / 290.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.6312, allocations: 3.984 kB / 290.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.6313, allocations: 175.1 kB / 290.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.6316, allocations: 102.1 kB / 290.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.6347, allocations: 0.5146 MB / 290.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.978e-05/0.6347, allocations: 103.3 kB / 291 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.6349, allocations: 26.28 kB / 291 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.635, allocations: 115.7 kB / 291.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.635, allocations: 0 / 291.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of Templates: time 0.007563/0.6425, allocations: 4.865 MB / 296 MB, free: 7.691 MB / 266.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.65807169303298]