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.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.001586/0.001586, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001555/0.001555, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.538/1.538, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.01409/0.01409, allocations: 2.8 MB / 308.9 MB, free: 5.973 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.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 0.001962/0.001962, allocations: 75.88 kB / 430.5 MB, free: 20.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 52.95 MB / 483.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02184/0.1279, allocations: 19.31 MB / 0.4909 GB, free: 12.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006157/0.134, allocations: 6.107 MB / 0.4969 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.1344, allocations: 4 kB / 0.4969 GB, free: 6.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009272/0.1353, allocations: 246.5 kB / 0.4971 GB, free: 5.781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.1397, allocations: 1.214 MB / 0.4983 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.1401, allocations: 91.36 kB / 0.4984 GB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.1406, allocations: 297.9 kB / 0.4987 GB, free: 4.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.1407, allocations: 16.73 kB / 0.4987 GB, free: 4.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1408, allocations: 99.47 kB / 0.4988 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.141, allocations: 107.5 kB / 0.4989 GB, free: 3.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.141, allocations: 8 kB / 0.4989 GB, free: 3.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5877/0.7287, allocations: 38.63 MB / 0.5366 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.7287, allocations: 40.91 kB / 0.5367 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.7289, allocations: 127.5 kB / 0.5368 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.7316, allocations: 0.5101 MB / 0.5373 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7316, allocations: 0 / 0.5373 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7316, allocations: 0 / 0.5373 GB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.7316, allocations: 0 / 0.5373 GB, free: 12.48 MB / 382.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.0007673/0.7324, allocations: 0.5744 MB / 0.5379 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.7324, allocations: 8.031 kB / 0.5379 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008/0.7332, allocations: 201.9 kB / 0.5381 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.7334, allocations: 192.1 kB / 0.5382 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.7334, allocations: 21.06 kB / 0.5383 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.7335, allocations: 19.62 kB / 0.5383 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.7339, allocations: 338.3 kB / 0.5386 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.734, allocations: 7.281 kB / 0.5386 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.734, allocations: 11.72 kB / 0.5386 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.734, allocations: 11.89 kB / 0.5386 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.7343, allocations: 256.3 kB / 0.5389 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.7363, allocations: 2.129 MB / 0.541 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.7364, allocations: 92.7 kB / 0.541 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.7365, allocations: 76.47 kB / 0.5411 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.7376, allocations: 0.6933 MB / 0.5418 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.7376, allocations: 45.5 kB / 0.5418 GB, free: 8.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.462e-06/0.7376, allocations: 0 / 0.5418 GB, free: 8.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003599/0.738, allocations: 183.7 kB / 0.542 GB, free: 8.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.738, allocations: 81.11 kB / 0.5421 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.7381, allocations: 105.7 kB / 0.5422 GB, free: 7.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.7381, allocations: 29.64 kB / 0.5422 GB, free: 7.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.7382, allocations: 160.3 kB / 0.5424 GB, free: 7.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.7383, allocations: 114 kB / 0.5425 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.7384, allocations: 33.39 kB / 0.5425 GB, free: 7.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7385, allocations: 330.4 kB / 0.5428 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.7386, allocations: 34.98 kB / 0.5429 GB, free: 7.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.7387, allocations: 88.3 kB / 0.5429 GB, free: 7.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.7388, allocations: 135.7 kB / 0.5431 GB, free: 7.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.7388, allocations: 4 kB / 0.5431 GB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002347/0.7391, allocations: 162.5 kB / 0.5432 GB, free: 6.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.7391, allocations: 8.188 kB / 0.5432 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.7391, allocations: 4 kB / 0.5432 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7391, allocations: 0 / 0.5432 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.7392, allocations: 15.98 kB / 0.5433 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7392, allocations: 3.375 kB / 0.5433 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.7393, allocations: 26.84 kB / 0.5433 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.7393, allocations: 4 kB / 0.5433 GB, free: 6.922 MB / 382.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.0001238/0.7394, allocations: 136.6 kB / 0.5434 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.7395, allocations: 7.953 kB / 0.5434 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.7395, allocations: 11.5 kB / 0.5434 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7395, allocations: 0 / 0.5434 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.7395, allocations: 7.984 kB / 0.5434 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7395, allocations: 0 / 0.5434 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.7399, allocations: 279.3 kB / 0.5437 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7399, allocations: 4 kB / 0.5437 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.7399, allocations: 0 / 0.5437 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.7399, allocations: 7.469 kB / 0.5437 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.7399, allocations: 0 / 0.5437 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7399, allocations: 0 / 0.5437 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7399, allocations: 0 / 0.5437 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.7413, allocations: 321 kB / 0.544 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.7413, allocations: 92.95 kB / 0.5441 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.7414, allocations: 7.984 kB / 0.5441 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.7415, allocations: 0 / 0.5441 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.7415, allocations: 7.938 kB / 0.5441 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.7415, allocations: 0 / 0.5441 GB, free: 6.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.477e-05/0.7416, allocations: 90.38 kB / 0.5442 GB, free: 5.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7416, allocations: 0 / 0.5442 GB, free: 5.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.742, allocations: 87.66 kB / 0.5443 GB, free: 5.906 MB / 382.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.0003841/0.7424, allocations: 184.9 kB / 0.5445 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.7427, allocations: 201.5 kB / 0.5447 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7427, allocations: 384 / 0.5447 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.7429, allocations: 181.2 kB / 0.5448 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.7436, allocations: 86.78 kB / 0.5449 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.7444, allocations: 0.5224 MB / 0.5454 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.7449, allocations: 0.7956 MB / 0.5462 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.745, allocations: 29.17 kB / 0.5462 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.7451, allocations: 23.44 kB / 0.5463 GB, free: 3.949 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.7451, allocations: 0 / 0.5463 GB, free: 3.949 MB / 382.1 MB Notification: Performance of Templates: time 0.01225/0.7573, allocations: 5.003 MB / 0.5512 GB, free: 15.04 MB / 398.1 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 -s cvode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.754046295303851] Failed to read output from testmodel.py, exit status != 0: 0.7652857801876962 0.783070256 0.047818802 Calling exit ...