Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.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.001326/0.001326, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001456/0.001456, allocations: 156.3 kB / 23.01 MB, free: 4.605 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.0133/0.0133, allocations: 1.988 MB / 261.8 MB, free: 14.66 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_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") [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.00241/0.00241, allocations: 66.88 kB / 385.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1109, allocations: 54.13 MB / 439.8 MB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3385/0.4494, allocations: 73.94 MB / 0.5017 GB, free: 45.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03009/0.4795, allocations: 35.21 MB / 0.5361 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.4813, allocations: 4.438 kB / 0.5361 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004303/0.4856, allocations: 1.004 MB / 0.5371 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02327/0.5089, allocations: 6.766 MB / 0.5437 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.51, allocations: 276.3 kB / 0.544 GB, free: 18.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.5122, allocations: 1.353 MB / 0.5453 GB, free: 17.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.5123, allocations: 48.62 kB / 0.5453 GB, free: 17.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.5129, allocations: 431.4 kB / 0.5457 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.5135, allocations: 483.1 kB / 0.5462 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.5136, allocations: 37.34 kB / 0.5462 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.99/2.503, allocations: 170 MB / 0.7123 GB, free: 121.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/2.504, allocations: 152 kB / 0.7124 GB, free: 121.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/2.505, allocations: 489.8 kB / 0.7129 GB, free: 121.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/2.517, allocations: 2.79 MB / 0.7156 GB, free: 121.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/2.517, allocations: 3.188 kB / 0.7156 GB, free: 121.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/2.517, allocations: 0 / 0.7156 GB, free: 121.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.275e-05/2.517, allocations: 0 / 0.7156 GB, free: 121.4 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001698/2.519, allocations: 1.531 MB / 0.7171 GB, free: 120.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/2.519, allocations: 9.438 kB / 0.7171 GB, free: 120.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/2.523, allocations: 1.23 MB / 0.7183 GB, free: 120.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/2.523, allocations: 225.6 kB / 0.7185 GB, free: 120.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/2.523, allocations: 71.75 kB / 0.7186 GB, free: 120.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/2.524, allocations: 92 kB / 0.7187 GB, free: 120.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/2.526, allocations: 1.753 MB / 0.7204 GB, free: 120.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/2.526, allocations: 5.344 kB / 0.7204 GB, free: 120.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/2.526, allocations: 35.78 kB / 0.7204 GB, free: 120.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.138e-05/2.526, allocations: 73.75 kB / 0.7205 GB, free: 120.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/2.528, allocations: 1.662 MB / 0.7221 GB, free: 120.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/2.532, allocations: 3.425 MB / 0.7255 GB, free: 119.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/2.532, allocations: 0.526 MB / 0.726 GB, free: 119.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/2.534, allocations: 0.5012 MB / 0.7265 GB, free: 119.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/2.535, allocations: 1.327 MB / 0.7278 GB, free: 118.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/2.535, allocations: 41.41 kB / 0.7278 GB, free: 118.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 2.144e-06/2.535, allocations: 0 / 0.7278 GB, free: 118.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=182): time 0.01186/2.547, allocations: 1.531 MB / 0.7293 GB, free: 118.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/2.547, allocations: 80.36 kB / 0.7294 GB, free: 118.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/2.547, allocations: 136 kB / 0.7295 GB, free: 118.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/2.547, allocations: 29.7 kB / 0.7295 GB, free: 118.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/2.547, allocations: 400.8 kB / 0.7299 GB, free: 118.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/2.547, allocations: 0.6004 MB / 0.7305 GB, free: 117.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/2.548, allocations: 139.3 kB / 0.7306 GB, free: 117.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.916e-05/2.548, allocations: 309.4 kB / 0.7309 GB, free: 117.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/2.548, allocations: 346.8 kB / 0.7313 GB, free: 117.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/2.548, allocations: 0.4908 MB / 0.7317 GB, free: 117.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/2.549, allocations: 1.019 MB / 0.7327 GB, free: 116.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/2.549, allocations: 3.125 kB / 0.7327 GB, free: 116.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0011/2.55, allocations: 1.052 MB / 0.7338 GB, free: 116.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/2.55, allocations: 11 kB / 0.7338 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/2.551, allocations: 7 kB / 0.7338 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/2.551, allocations: 3.469 kB / 0.7338 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/2.551, allocations: 35.7 kB / 0.7338 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/2.551, allocations: 7.344 kB / 0.7338 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/2.551, allocations: 84.86 kB / 0.7339 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/2.551, allocations: 22.42 kB / 0.7339 GB, free: 116.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002796/2.551, allocations: 217.3 kB / 0.7341 GB, free: 115.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/2.551, allocations: 57.03 kB / 0.7342 GB, free: 115.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/2.551, allocations: 33.2 kB / 0.7342 GB, free: 115.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/2.551, allocations: 15.03 kB / 0.7342 GB, free: 115.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/2.551, allocations: 0 / 0.7342 GB, free: 115.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/2.551, allocations: 0 / 0.7342 GB, free: 115.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008112/2.552, allocations: 0.7533 MB / 0.735 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/2.552, allocations: 4.547 kB / 0.735 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/2.552, allocations: 17.3 kB / 0.735 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/2.552, allocations: 0 / 0.735 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/2.552, allocations: 14.22 kB / 0.735 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/2.552, allocations: 3.469 kB / 0.735 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.552, allocations: 0 / 0.735 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/2.554, allocations: 1.196 MB / 0.7362 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/2.554, allocations: 87.75 kB / 0.7363 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/2.554, allocations: 12.02 kB / 0.7363 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/2.554, allocations: 0 / 0.7363 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/2.554, allocations: 23.39 kB / 0.7363 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/2.554, allocations: 11.2 kB / 0.7363 GB, free: 114.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.77e-05/2.554, allocations: 100.7 kB / 0.7364 GB, free: 114.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/2.554, allocations: 1.531 kB / 0.7364 GB, free: 114.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001017/2.555, allocations: 378.6 kB / 0.7368 GB, free: 114.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0009593/2.556, allocations: 0.5558 MB / 0.7373 GB, free: 114 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001272/2.557, allocations: 1.57 MB / 0.7388 GB, free: 112.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/2.557, allocations: 0 / 0.7388 GB, free: 112.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000848/2.558, allocations: 1.652 MB / 0.7405 GB, free: 110.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/2.56, allocations: 466.2 kB / 0.7409 GB, free: 110.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/2.563, allocations: 2.158 MB / 0.743 GB, free: 108.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/2.564, allocations: 0.7147 MB / 0.7437 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006901/2.564, allocations: 178.2 kB / 0.7439 GB, free: 107.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/2.564, allocations: 80.5 kB / 0.7439 GB, free: 107.4 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/2.564, allocations: 0 / 0.7439 GB, free: 107.4 MB / 0.545 GB Notification: Performance of Templates: time 0.03959/2.604, allocations: 27.3 MB / 0.7706 GB, free: 83.95 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.34992950502783] Failed to read output from testmodel.py, exit status != 0: 2.612735203001648 2.62417165 0.10430024700000001 Calling exit ...