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.001991/0.001991, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001706/0.001706, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.019/0.019, allocations: 1.993 MB / 261.6 MB, free: 11.07 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.523e-06/1.523e-06, allocations: 3.938 kB / 331.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.322e-05, allocations: 2.312 kB / 331.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01355/0.01357, allocations: 17.27 MB / 348.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006765/0.02034, allocations: 5.274 MB / 354.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.02054, allocations: 0 / 354.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.02122, allocations: 206.6 kB / 354.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003636/0.02485, allocations: 1.221 MB / 355.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.02518, allocations: 95.36 kB / 355.7 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005474/0.02573, allocations: 328.4 kB / 356 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.874e-05/0.0258, allocations: 16.92 kB / 356 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.02602, allocations: 143.5 kB / 356.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.0262, allocations: 83.77 kB / 356.3 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.02623, allocations: 8 kB / 356.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182/1.208, allocations: 64.24 MB / 420.5 MB, free: 71.69 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/1.208, allocations: 39.02 kB / 420.5 MB, free: 71.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/1.208, allocations: 86.33 kB / 420.6 MB, free: 71.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/1.209, allocations: 0.507 MB / 421.1 MB, free: 71.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.209, allocations: 3.969 kB / 421.1 MB, free: 71.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.209, allocations: 0 / 421.1 MB, free: 71.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/1.209, allocations: 0 / 421.1 MB, free: 71.69 MB / 330.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.0005074/1.21, allocations: 0.4895 MB / 421.6 MB, free: 71.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.21, allocations: 10.72 kB / 421.6 MB, free: 71.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008652/1.211, allocations: 425.2 kB / 422.1 MB, free: 71.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.67e-05/1.211, allocations: 133.2 kB / 422.2 MB, free: 71.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/1.211, allocations: 19.72 kB / 422.2 MB, free: 71.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/1.211, allocations: 24 kB / 422.2 MB, free: 71.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/1.211, allocations: 342.4 kB / 422.6 MB, free: 71.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.211, allocations: 3.969 kB / 422.6 MB, free: 71.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.211, allocations: 13.28 kB / 422.6 MB, free: 71.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/1.211, allocations: 10.97 kB / 422.6 MB, free: 71.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/1.212, allocations: 271.4 kB / 422.9 MB, free: 71.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008681/1.212, allocations: 0.7998 MB / 423.7 MB, free: 70.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/1.213, allocations: 95.97 kB / 423.7 MB, free: 70.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/1.213, allocations: 72.72 kB / 423.8 MB, free: 70.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/1.213, allocations: 0.5094 MB / 424.3 MB, free: 70.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/1.213, allocations: 34.06 kB / 424.4 MB, free: 70.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.422e-06/1.213, allocations: 0 / 424.4 MB, free: 70.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003271/1.213, allocations: 189.3 kB / 424.5 MB, free: 70.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.213, allocations: 80.11 kB / 424.6 MB, free: 70.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/1.214, allocations: 112.2 kB / 424.7 MB, free: 70.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/1.214, allocations: 28.66 kB / 424.8 MB, free: 69.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/1.214, allocations: 156.6 kB / 424.9 MB, free: 69.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/1.214, allocations: 110.5 kB / 425 MB, free: 69.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/1.214, allocations: 35.39 kB / 425.1 MB, free: 69.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/1.214, allocations: 321 kB / 425.4 MB, free: 69.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/1.214, allocations: 37.05 kB / 425.4 MB, free: 69.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/1.214, allocations: 84.42 kB / 425.5 MB, free: 69.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/1.214, allocations: 140 kB / 425.6 MB, free: 69.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.214, allocations: 0 / 425.6 MB, free: 69.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001845/1.214, allocations: 172.9 kB / 425.8 MB, free: 69.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.214, allocations: 5.25 kB / 425.8 MB, free: 69.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.214, allocations: 1.281 kB / 425.8 MB, free: 69.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.214, allocations: 2.375 kB / 425.8 MB, free: 69.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/1.214, allocations: 16.81 kB / 425.8 MB, free: 69.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.214, allocations: 4.062 kB / 425.8 MB, free: 69.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/1.214, allocations: 20.81 kB / 425.8 MB, free: 69.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/1.214, allocations: 4.812 kB / 425.8 MB, free: 69.27 MB / 330.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 7.209e-05/1.214, allocations: 130.4 kB / 426 MB, free: 69.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/1.214, allocations: 13.11 kB / 426 MB, free: 69.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/1.214, allocations: 10.28 kB / 426 MB, free: 69.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.214, allocations: 3.688 kB / 426 MB, free: 69.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.214, allocations: 0 / 426 MB, free: 69.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/1.214, allocations: 0 / 426 MB, free: 69.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/1.215, allocations: 194.9 kB / 426.2 MB, free: 69.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.215, allocations: 0 / 426.2 MB, free: 69.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/1.215, allocations: 2.594 kB / 426.2 MB, free: 69.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.215, allocations: 16.27 kB / 426.2 MB, free: 69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/1.215, allocations: 0 / 426.2 MB, free: 69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.215, allocations: 2.281 kB / 426.2 MB, free: 69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.215, allocations: 3.188 kB / 426.2 MB, free: 69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/1.215, allocations: 312.7 kB / 426.5 MB, free: 68.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/1.215, allocations: 19 kB / 426.5 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/1.215, allocations: 3.703 kB / 426.5 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.215, allocations: 1.25 kB / 426.5 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/1.215, allocations: 2.594 kB / 426.5 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/1.215, allocations: 3.281 kB / 426.6 MB, free: 68.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.073e-05/1.215, allocations: 89.62 kB / 426.6 MB, free: 68.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/1.215, allocations: 3.188 kB / 426.6 MB, free: 68.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003772/1.215, allocations: 85.09 kB / 426.7 MB, free: 68.68 MB / 330.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.0003771/1.216, allocations: 182.4 kB / 426.9 MB, free: 68.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002571/1.216, allocations: 212.7 kB / 427.1 MB, free: 68.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.216, allocations: 5.031 kB / 427.1 MB, free: 68.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/1.216, allocations: 179.3 kB / 427.3 MB, free: 68.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/1.217, allocations: 87.16 kB / 427.4 MB, free: 68.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/1.218, allocations: 0.4956 MB / 427.9 MB, free: 68.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/1.218, allocations: 197.7 kB / 428.1 MB, free: 67.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/1.218, allocations: 21.69 kB / 428.1 MB, free: 67.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/1.218, allocations: 27.41 kB / 428.1 MB, free: 67.95 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/1.218, allocations: 0 / 428.1 MB, free: 67.95 MB / 330.7 MB Notification: Performance of Templates: time 0.008661/1.227, allocations: 4.642 MB / 432.8 MB, free: 66.38 MB / 330.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.544648970011622]