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.0007474/0.0007474, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007543/0.0007543, allocations: 177.9 kB / 23.22 MB, free: 1.348 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.8127/0.8127, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.007042/0.007042, allocations: 1.988 MB / 261.9 MB, free: 11.27 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.402e-06/1.402e-06, allocations: 0 / 385.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.609e-05, allocations: 5.094 kB / 385.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01099/0.01101, allocations: 17.28 MB / 403.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.01389, allocations: 5.27 MB / 408.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.01397, allocations: 0 / 408.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.01436, allocations: 214.6 kB / 408.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.01624, allocations: 1.225 MB / 409.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.01642, allocations: 87.3 kB / 410 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.01666, allocations: 325.5 kB / 410.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.0167, allocations: 12.92 kB / 410.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.0168, allocations: 139.6 kB / 410.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.01688, allocations: 91.77 kB / 410.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.0169, allocations: 8 kB / 410.6 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6775/0.6944, allocations: 38.66 MB / 449.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.6944, allocations: 34.58 kB / 449.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.6945, allocations: 90.83 kB / 449.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.6956, allocations: 0.5058 MB / 449.8 MB, free: 3.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6956, allocations: 4 kB / 449.8 MB, free: 3.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6956, allocations: 0 / 449.8 MB, free: 3.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.6956, allocations: 0 / 449.8 MB, free: 3.961 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.0003623/0.6959, allocations: 0.4929 MB / 450.3 MB, free: 3.504 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.696, allocations: 12.03 kB / 450.3 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.6963, allocations: 209.8 kB / 450.6 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.112e-05/0.6964, allocations: 131.5 kB / 450.7 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.6964, allocations: 20.31 kB / 450.7 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.6964, allocations: 20 kB / 450.7 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.6967, allocations: 341.9 kB / 451.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6967, allocations: 0 / 451.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.6967, allocations: 15.5 kB / 451.1 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.6967, allocations: 12.41 kB / 451.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.6969, allocations: 278.4 kB / 451.4 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.6975, allocations: 0.8033 MB / 452.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.008e-05/0.6975, allocations: 97.84 kB / 452.3 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.6976, allocations: 74.42 kB / 452.3 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.6979, allocations: 0.5036 MB / 452.8 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.6979, allocations: 34.55 kB / 452.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 9.12e-07/0.6979, allocations: 0 / 452.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002142/0.6981, allocations: 185.5 kB / 453 MB, free: 1.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.6981, allocations: 81.09 kB / 453.1 MB, free: 1.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.136e-05/0.6982, allocations: 101.6 kB / 453.2 MB, free: 1.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.6982, allocations: 29.7 kB / 453.3 MB, free: 1.305 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.6982, allocations: 159.9 kB / 453.4 MB, free: 1.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.6982, allocations: 105.8 kB / 453.5 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.6982, allocations: 41.22 kB / 453.6 MB, free: 1.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.494e-05/0.6983, allocations: 326.5 kB / 453.9 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.6983, allocations: 35.42 kB / 453.9 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/0.6983, allocations: 76.08 kB / 454 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-05/0.6984, allocations: 141 kB / 454.1 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6984, allocations: 0 / 454.1 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001178/0.6985, allocations: 165.3 kB / 454.3 MB, free: 400 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6986, allocations: 8.188 kB / 454.3 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6986, allocations: 4 kB / 454.3 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.6986, allocations: 4 kB / 454.3 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.6986, allocations: 11.98 kB / 454.3 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.6986, allocations: 0 / 454.3 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.6987, allocations: 19.78 kB / 454.3 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.6987, allocations: 8 kB / 454.3 MB, free: 344 kB / 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 5.461e-05/0.6987, allocations: 128.2 kB / 454.5 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.6987, allocations: 12.08 kB / 454.5 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.6988, allocations: 12.39 kB / 454.5 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6988, allocations: 4 kB / 454.5 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6988, allocations: 4 kB / 454.5 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6988, allocations: 7.922 kB / 454.5 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.6989, allocations: 190.6 kB / 454.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6989, allocations: 4 kB / 454.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-06/0.6989, allocations: 0 / 454.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.6989, allocations: 7.938 kB / 454.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.699, allocations: 0 / 454.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.699, allocations: 0 / 454.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.699, allocations: 4 kB / 454.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.6991, allocations: 312.6 kB / 455 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.6991, allocations: 19.81 kB / 455 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.6991, allocations: 4 kB / 455 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/0.6992, allocations: 0 / 455 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.6992, allocations: 6.562 kB / 455 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6992, allocations: 4 kB / 455 MB, free: 15.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.6992, allocations: 83.27 kB / 455.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.6992, allocations: 3.938 kB / 455.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.6995, allocations: 87.09 kB / 455.2 MB, free: 15.5 MB / 346.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.0002669/0.6998, allocations: 206.3 kB / 455.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.7, allocations: 202 kB / 455.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.7, allocations: 0 / 455.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.7, allocations: 185 kB / 455.8 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.7005, allocations: 84.08 kB / 455.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.701, allocations: 0.5391 MB / 456.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.7011, allocations: 195 kB / 456.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.7011, allocations: 24.5 kB / 456.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of SimCode: time 3.9e-07/0.7011, allocations: 0 / 456.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of Templates: time 0.003798/0.7049, allocations: 3.887 MB / 460.5 MB, free: 10.34 MB / 346.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8047297559678555] Failed to read output from testmodel.py, exit status != 0: 0.709752413444221 0.7174314709999999 0.020289173 Calling exit ...