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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01278/0.01278, allocations: 2.808 MB / 307.3 MB, free: 3.176 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001951/0.001951, allocations: 67.89 kB / 428.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2637, allocations: 52.95 MB / 481.3 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01544/0.2792, allocations: 19.33 MB / 0.4889 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.2833, allocations: 6.096 MB / 0.4948 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.2835, allocations: 1.25 kB / 0.4948 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.2841, allocations: 259.1 kB / 0.4951 GB, free: 8.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.2868, allocations: 1.21 MB / 0.4963 GB, free: 7.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.2871, allocations: 83.56 kB / 0.4963 GB, free: 7.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.2874, allocations: 299.4 kB / 0.4966 GB, free: 7.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.2875, allocations: 16.17 kB / 0.4966 GB, free: 7.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.2876, allocations: 99.16 kB / 0.4967 GB, free: 7.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.2877, allocations: 111.2 kB / 0.4968 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.2877, allocations: 16 kB / 0.4969 GB, free: 7.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3336/0.6214, allocations: 38.57 MB / 0.5345 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.6214, allocations: 35.77 kB / 0.5346 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.6218, allocations: 127.3 kB / 0.5347 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.6241, allocations: 0.51 MB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6242, allocations: 4 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6242, allocations: 3.938 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.6242, allocations: 0 / 0.5352 GB, free: 10.9 MB / 398.1 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.0007306/0.6249, allocations: 0.5687 MB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6249, allocations: 12.03 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008372/0.6258, allocations: 200.5 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.6259, allocations: 192.1 kB / 0.5361 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.626, allocations: 16.94 kB / 0.5361 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.626, allocations: 27.94 kB / 0.5362 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.6265, allocations: 341.6 kB / 0.5365 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6265, allocations: 0 / 0.5365 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.6266, allocations: 12 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.6266, allocations: 15.98 kB / 0.5365 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.627, allocations: 255.9 kB / 0.5368 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.6291, allocations: 2.123 MB / 0.5388 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.6293, allocations: 101.1 kB / 0.5389 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.6294, allocations: 69.8 kB / 0.539 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008178/0.6302, allocations: 0.6968 MB / 0.5397 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.6302, allocations: 38.56 kB / 0.5397 GB, free: 5.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.6302, allocations: 4 kB / 0.5397 GB, free: 5.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004397/0.6307, allocations: 181.5 kB / 0.5399 GB, free: 5.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.6307, allocations: 77.11 kB / 0.54 GB, free: 5.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6308, allocations: 109.8 kB / 0.5401 GB, free: 5.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/0.6309, allocations: 29.7 kB / 0.5401 GB, free: 5.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.631, allocations: 160.5 kB / 0.5403 GB, free: 5.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.6311, allocations: 107 kB / 0.5404 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/0.6312, allocations: 33.7 kB / 0.5404 GB, free: 4.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6313, allocations: 334.8 kB / 0.5407 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.6314, allocations: 31.98 kB / 0.5407 GB, free: 4.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.6315, allocations: 84.84 kB / 0.5408 GB, free: 4.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.6317, allocations: 150.5 kB / 0.541 GB, free: 4.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6317, allocations: 0 / 0.541 GB, free: 4.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002457/0.6319, allocations: 165.4 kB / 0.5411 GB, free: 4.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6319, allocations: 4 kB / 0.5411 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.632, allocations: 4 kB / 0.5411 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.632, allocations: 3.938 kB / 0.5411 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.6321, allocations: 16.12 kB / 0.5411 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.6321, allocations: 4 kB / 0.5412 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.6321, allocations: 19.84 kB / 0.5412 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.6321, allocations: 11.88 kB / 0.5412 GB, free: 4.109 MB / 398.1 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 0.0001255/0.6323, allocations: 125.8 kB / 0.5413 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.6323, allocations: 7.953 kB / 0.5413 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.6324, allocations: 12.44 kB / 0.5413 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6324, allocations: 0 / 0.5413 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6324, allocations: 0 / 0.5413 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6324, allocations: 4 kB / 0.5413 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.6328, allocations: 281.4 kB / 0.5416 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6328, allocations: 0 / 0.5416 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.6328, allocations: 7.938 kB / 0.5416 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6328, allocations: 0 / 0.5416 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.6328, allocations: 4 kB / 0.5416 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6328, allocations: 0 / 0.5416 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6328, allocations: 0 / 0.5416 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.6346, allocations: 323.2 kB / 0.5419 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.6347, allocations: 92.95 kB / 0.542 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.6347, allocations: 0 / 0.542 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.6348, allocations: 4 kB / 0.542 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.6348, allocations: 240 / 0.542 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6348, allocations: 7.938 kB / 0.542 GB, free: 3.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.6349, allocations: 95.19 kB / 0.5421 GB, free: 3.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6349, allocations: 0 / 0.5421 GB, free: 3.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000501/0.6354, allocations: 83.72 kB / 0.5422 GB, free: 2.988 MB / 398.1 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.0004902/0.6359, allocations: 192.9 kB / 0.5424 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.6363, allocations: 200 kB / 0.5426 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6363, allocations: 0 / 0.5426 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.6364, allocations: 174 kB / 0.5427 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007124/0.6372, allocations: 91.89 kB / 0.5428 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.6381, allocations: 0.5187 MB / 0.5433 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.6385, allocations: 0.7956 MB / 0.5441 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.6387, allocations: 33.12 kB / 0.5441 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.6387, allocations: 23.44 kB / 0.5442 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6387, allocations: 0 / 0.5442 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Templates: time 0.01092/0.6496, allocations: 5.002 MB / 0.549 GB, free: 11.91 MB / 414.1 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.169623427093029]