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.002048/0.002048, allocations: 83.73 kB / 19.76 MB, free: 2.02 MB / 14.72 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.003037/0.003037, allocations: 157 kB / 23 MB, free: 4.945 MB / 14.72 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.01208/0.01208, allocations: 2 MB / 261.8 MB, free: 14.65 MB / 254.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.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: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.89 kB / 385.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1091, allocations: 54.14 MB / 439.8 MB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02107/0.1302, allocations: 17.35 MB / 457.2 MB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006226/0.1364, allocations: 5.271 MB / 462.4 MB, free: 5.465 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.1366, allocations: 0 / 462.4 MB, free: 5.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.1373, allocations: 206.6 kB / 462.6 MB, free: 5.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.1406, allocations: 1.179 MB / 463.8 MB, free: 4.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.141, allocations: 83.36 kB / 463.9 MB, free: 3.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.1414, allocations: 313.7 kB / 464.2 MB, free: 3.684 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.1414, allocations: 8.938 kB / 464.2 MB, free: 3.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1416, allocations: 95.59 kB / 464.3 MB, free: 3.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.1417, allocations: 107.4 kB / 464.4 MB, free: 3.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1417, allocations: 8 kB / 464.4 MB, free: 3.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5779/0.7197, allocations: 38.67 MB / 0.4913 GB, free: 64.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.7197, allocations: 35.78 kB / 0.4913 GB, free: 64.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.7199, allocations: 107.5 kB / 0.4914 GB, free: 64.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.7213, allocations: 0.5061 MB / 0.4919 GB, free: 64.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7213, allocations: 0 / 0.4919 GB, free: 64.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.7213, allocations: 1.125 kB / 0.4919 GB, free: 64.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.7213, allocations: 0 / 0.4919 GB, free: 64.04 MB / 446.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.0004844/0.7218, allocations: 0.4972 MB / 0.4924 GB, free: 63.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.7218, allocations: 10.44 kB / 0.4924 GB, free: 63.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.7226, allocations: 211.9 kB / 0.4926 GB, free: 63.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.291e-05/0.7226, allocations: 129.5 kB / 0.4927 GB, free: 63.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.7226, allocations: 19.81 kB / 0.4928 GB, free: 63.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.7227, allocations: 23.25 kB / 0.4928 GB, free: 63.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.7231, allocations: 348.8 kB / 0.4931 GB, free: 63.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7231, allocations: 0 / 0.4931 GB, free: 63.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.7231, allocations: 10.81 kB / 0.4931 GB, free: 63.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.7231, allocations: 13.55 kB / 0.4931 GB, free: 63.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.7234, allocations: 267.7 kB / 0.4934 GB, free: 63.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.7247, allocations: 0.7945 MB / 0.4942 GB, free: 63.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.7249, allocations: 95.86 kB / 0.4943 GB, free: 63.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.725, allocations: 73.2 kB / 0.4943 GB, free: 63.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000429/0.7254, allocations: 0.5075 MB / 0.4948 GB, free: 62.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.7254, allocations: 32.47 kB / 0.4949 GB, free: 62.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.213e-06/0.7254, allocations: 0.5 kB / 0.4949 GB, free: 62.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003693/0.7258, allocations: 180.2 kB / 0.495 GB, free: 62.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.7258, allocations: 85.39 kB / 0.4951 GB, free: 62.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/0.7259, allocations: 104.2 kB / 0.4952 GB, free: 62.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.7259, allocations: 29.61 kB / 0.4952 GB, free: 62.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.7259, allocations: 166.8 kB / 0.4954 GB, free: 62.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.726, allocations: 106.5 kB / 0.4955 GB, free: 62.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.726, allocations: 34.97 kB / 0.4955 GB, free: 62.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.7261, allocations: 332.4 kB / 0.4959 GB, free: 61.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.7261, allocations: 34.8 kB / 0.4959 GB, free: 61.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.7262, allocations: 79.8 kB / 0.496 GB, free: 61.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.7263, allocations: 148.8 kB / 0.4961 GB, free: 61.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7263, allocations: 0 / 0.4961 GB, free: 61.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002005/0.7265, allocations: 156.1 kB / 0.4963 GB, free: 61.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.7265, allocations: 9.656 kB / 0.4963 GB, free: 61.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7265, allocations: 1.062 kB / 0.4963 GB, free: 61.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7266, allocations: 2.25 kB / 0.4963 GB, free: 61.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.7266, allocations: 12.31 kB / 0.4963 GB, free: 61.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7266, allocations: 2.188 kB / 0.4963 GB, free: 61.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.7267, allocations: 20.34 kB / 0.4963 GB, free: 61.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.7267, allocations: 4.094 kB / 0.4963 GB, free: 61.61 MB / 446.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 7.66e-05/0.7268, allocations: 132.1 kB / 0.4964 GB, free: 61.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.7268, allocations: 15.78 kB / 0.4964 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.7269, allocations: 10.72 kB / 0.4965 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7269, allocations: 8.312 kB / 0.4965 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7269, allocations: 3.984 kB / 0.4965 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7269, allocations: 1.125 kB / 0.4965 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.7271, allocations: 194.1 kB / 0.4966 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7271, allocations: 1.094 kB / 0.4967 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.7271, allocations: 3.344 kB / 0.4967 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7271, allocations: 0.9375 kB / 0.4967 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.7271, allocations: 5.844 kB / 0.4967 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7271, allocations: 5.125 kB / 0.4967 GB, free: 61.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7271, allocations: 0 / 0.4967 GB, free: 61.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.7282, allocations: 318.8 kB / 0.497 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.7283, allocations: 16.48 kB / 0.497 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.7283, allocations: 1.031 kB / 0.497 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.7284, allocations: 1 kB / 0.497 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.7284, allocations: 9.359 kB / 0.497 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.7284, allocations: 7.062 kB / 0.497 GB, free: 61.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.96e-05/0.7284, allocations: 78.62 kB / 0.4971 GB, free: 61.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7284, allocations: 0 / 0.4971 GB, free: 61.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.7288, allocations: 91.02 kB / 0.4972 GB, free: 61 MB / 446.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.0003339/0.7292, allocations: 190.8 kB / 0.4973 GB, free: 60.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.7294, allocations: 206.3 kB / 0.4975 GB, free: 60.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7294, allocations: 3.938 kB / 0.4975 GB, free: 60.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.7295, allocations: 179.6 kB / 0.4977 GB, free: 60.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.7302, allocations: 83.77 kB / 0.4978 GB, free: 60.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.7308, allocations: 0.5226 MB / 0.4983 GB, free: 60.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.7309, allocations: 194.1 kB / 0.4985 GB, free: 60.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.157e-05/0.731, allocations: 26.39 kB / 0.4985 GB, free: 60.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.7311, allocations: 24.41 kB / 0.4985 GB, free: 60.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.7311, allocations: 0 / 0.4985 GB, free: 60.28 MB / 446.1 MB Notification: Performance of Templates: time 0.009004/0.7401, allocations: 4.632 MB / 0.5031 GB, free: 59.54 MB / 446.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 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.328974596923217] Failed to read output from testmodel.py, exit status != 0: 0.7481917319819331 0.759914001 0.035907375000000005 Calling exit ...