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.0009173/0.0009173, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009178/0.0009178, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9406/0.9406, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.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.01189/0.01189, allocations: 1.997 MB / 262.3 MB, free: 10.95 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 9.92e-07/9.92e-07, allocations: 0 / 279.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.427e-05, allocations: 6.312 kB / 279.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.1081/0.1081, allocations: 9.64 MB / 289.2 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.1107, allocations: 3.183 MB / 292.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.1108, allocations: 1.125 kB / 292.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1111, allocations: 103 kB / 292.5 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1123, allocations: 0.6944 MB / 293.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1125, allocations: 95.09 kB / 293.3 MB, free: 19.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.1128, allocations: 322.1 kB / 293.6 MB, free: 19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.1128, allocations: 18.94 kB / 293.7 MB, free: 19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.113, allocations: 141.2 kB / 293.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1131, allocations: 86.06 kB / 293.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1131, allocations: 7.562 kB / 293.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6105/0.7236, allocations: 21.58 MB / 315.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.7236, allocations: 34.62 kB / 315.5 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.7238, allocations: 89.33 kB / 315.6 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009881/0.7248, allocations: 330.9 kB / 315.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7248, allocations: 0 / 315.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7248, allocations: 0 / 315.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.7248, allocations: 0 / 315.9 MB, free: 7.016 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.0003869/0.7252, allocations: 453 kB / 316.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7252, allocations: 9.188 kB / 316.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006158/0.7259, allocations: 427.9 kB / 316.8 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.749e-05/0.7259, allocations: 129.5 kB / 316.9 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.7259, allocations: 15.94 kB / 316.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.726, allocations: 31.38 kB / 317 MB, free: 6.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.7262, allocations: 228.5 kB / 317.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7262, allocations: 0 / 317.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.7262, allocations: 10.81 kB / 317.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.7262, allocations: 12.45 kB / 317.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.7263, allocations: 96.19 kB / 317.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.7269, allocations: 0.6606 MB / 318 MB, free: 5.668 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.605e-05/0.7269, allocations: 68.12 kB / 318 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.7269, allocations: 33.72 kB / 318.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.7272, allocations: 464.8 kB / 318.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.7272, allocations: 34.5 kB / 318.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.7272, allocations: 0 / 318.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001701/0.7274, allocations: 135.5 kB / 318.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.7274, allocations: 89.05 kB / 318.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.7275, allocations: 112.8 kB / 318.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.7275, allocations: 29.7 kB / 318.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.7275, allocations: 158.8 kB / 319.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.7275, allocations: 101.1 kB / 319.1 MB, free: 4.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.7276, allocations: 40.97 kB / 319.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.096e-05/0.7276, allocations: 321.9 kB / 319.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.7276, allocations: 12 kB / 319.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.7277, allocations: 66.75 kB / 319.6 MB, free: 4.012 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.7277, allocations: 104.2 kB / 319.7 MB, free: 3.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7277, allocations: 0 / 319.7 MB, free: 3.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 8.86e-05/0.7278, allocations: 122.5 kB / 319.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7278, allocations: 11.94 kB / 319.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7278, allocations: 0 / 319.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.7278, allocations: 4 kB / 319.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.7279, allocations: 11.09 kB / 319.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.7279, allocations: 4.188 kB / 319.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.7279, allocations: 19.78 kB / 319.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.7279, allocations: 4 kB / 319.9 MB, free: 3.734 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 5.663e-05/0.728, allocations: 117.6 kB / 320 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.728, allocations: 14.78 kB / 320 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.728, allocations: 8.406 kB / 320 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.728, allocations: 0 / 320 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.728, allocations: 4 kB / 320 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.728, allocations: 0 / 320 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.7282, allocations: 128.7 kB / 320.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7282, allocations: 4 kB / 320.1 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.7282, allocations: 4 kB / 320.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.7282, allocations: 0 / 320.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.7282, allocations: 5.453 kB / 320.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7282, allocations: 3.938 kB / 320.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7282, allocations: 0 / 320.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.7283, allocations: 284.8 kB / 320.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.7283, allocations: 12.52 kB / 320.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.7283, allocations: 8 kB / 320.4 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.7284, allocations: 3.938 kB / 320.4 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.7284, allocations: 2.344 kB / 320.4 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.7284, allocations: 8 kB / 320.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.618e-06/0.7284, allocations: 14.81 kB / 320.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.7284, allocations: 0 / 320.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.7286, allocations: 83.66 kB / 320.5 MB, free: 3.047 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.0002691/0.7289, allocations: 156.3 kB / 320.7 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.729, allocations: 184.2 kB / 320.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.729, allocations: 4 kB / 320.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.239e-05/0.7291, allocations: 172.1 kB / 321.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.7294, allocations: 86.89 kB / 321.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.73, allocations: 0.5081 MB / 321.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/0.7301, allocations: 105.2 kB / 321.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.482e-05/0.7302, allocations: 33.05 kB / 321.8 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.7303, allocations: 122.6 kB / 321.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.7303, allocations: 0 / 321.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of Templates: time 0.006001/0.7363, allocations: 4.681 MB / 326.6 MB, free: 13.04 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8600698481313884]