Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001361/0.001361, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001617/0.001617, allocations: 221 kB / 23 MB, free: 4.918 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.01561/0.01561, allocations: 2.821 MB / 316 MB, free: 108 kB / 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.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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.002343/0.002343, allocations: 63.91 kB / 439.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1255, allocations: 54.18 MB / 494.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.3347/0.4602, allocations: 73.93 MB / 0.5547 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0421/0.5023, allocations: 35.22 MB / 0.5891 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.5038, allocations: 4 kB / 0.5891 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.5075, allocations: 0.9899 MB / 0.5901 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02297/0.5305, allocations: 6.771 MB / 0.5967 GB, free: 380 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.5318, allocations: 270 kB / 0.5969 GB, free: 108 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002496/0.5343, allocations: 1.343 MB / 0.5983 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.5345, allocations: 55.14 kB / 0.5983 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00068/0.5351, allocations: 433.9 kB / 0.5987 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.5359, allocations: 481.4 kB / 0.5992 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.536, allocations: 36 kB / 0.5992 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701/2.237, allocations: 167.9 MB / 0.7632 GB, free: 88.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002357/2.237, allocations: 153 kB / 0.7633 GB, free: 88.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007825/2.238, allocations: 486.9 kB / 0.7638 GB, free: 87.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009605/2.247, allocations: 2.79 MB / 0.7665 GB, free: 86.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/2.247, allocations: 0 / 0.7665 GB, free: 86.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/2.247, allocations: 0 / 0.7665 GB, free: 86.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.418e-05/2.248, allocations: 0 / 0.7665 GB, free: 86.15 MB / 0.5294 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.001576/2.249, allocations: 1.528 MB / 0.768 GB, free: 84.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/2.249, allocations: 16.02 kB / 0.768 GB, free: 84.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/2.253, allocations: 1.22 MB / 0.7692 GB, free: 84.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/2.253, allocations: 232.5 kB / 0.7694 GB, free: 83.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/2.253, allocations: 72.25 kB / 0.7695 GB, free: 83.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/2.253, allocations: 93.44 kB / 0.7696 GB, free: 83.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/2.255, allocations: 1.749 MB / 0.7713 GB, free: 82.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/2.255, allocations: 4 kB / 0.7713 GB, free: 82.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/2.255, allocations: 42.06 kB / 0.7713 GB, free: 82.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/2.255, allocations: 70.31 kB / 0.7714 GB, free: 82.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/2.257, allocations: 1.667 MB / 0.773 GB, free: 81.67 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004251/2.261, allocations: 3.424 MB / 0.7764 GB, free: 79.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/2.262, allocations: 0.5232 MB / 0.7769 GB, free: 79.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/2.262, allocations: 0.5055 MB / 0.7774 GB, free: 78.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/2.264, allocations: 1.325 MB / 0.7787 GB, free: 77.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/2.264, allocations: 38.5 kB / 0.7787 GB, free: 77.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.465e-06/2.264, allocations: 0 / 0.7787 GB, free: 77.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002421/2.266, allocations: 1.53 MB / 0.7802 GB, free: 76.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/2.266, allocations: 81.09 kB / 0.7803 GB, free: 76.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/2.266, allocations: 137 kB / 0.7804 GB, free: 76.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/2.267, allocations: 33.62 kB / 0.7804 GB, free: 76.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/2.267, allocations: 403.7 kB / 0.7808 GB, free: 76.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/2.267, allocations: 0.5962 MB / 0.7814 GB, free: 75.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/2.267, allocations: 142.6 kB / 0.7815 GB, free: 75.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.312e-05/2.267, allocations: 310 kB / 0.7818 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/2.267, allocations: 344.8 kB / 0.7822 GB, free: 75.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/2.268, allocations: 0.4955 MB / 0.7827 GB, free: 74.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/2.269, allocations: 1.031 MB / 0.7837 GB, free: 74.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/2.269, allocations: 0 / 0.7837 GB, free: 74.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001167/2.27, allocations: 1.048 MB / 0.7847 GB, free: 73.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/2.27, allocations: 15.92 kB / 0.7847 GB, free: 73.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/2.27, allocations: 4 kB / 0.7847 GB, free: 73.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/2.27, allocations: 4 kB / 0.7847 GB, free: 73.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/2.27, allocations: 26.53 kB / 0.7847 GB, free: 73.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/2.27, allocations: 10.33 kB / 0.7847 GB, free: 73.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/2.27, allocations: 84.67 kB / 0.7848 GB, free: 73.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/2.271, allocations: 24 kB / 0.7848 GB, free: 73.25 MB / 0.5294 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.0003713/2.271, allocations: 224.4 kB / 0.7851 GB, free: 73.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/2.271, allocations: 55.62 kB / 0.7851 GB, free: 72.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/2.271, allocations: 31.88 kB / 0.7851 GB, free: 72.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/2.271, allocations: 8 kB / 0.7852 GB, free: 72.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/2.271, allocations: 0 / 0.7852 GB, free: 72.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/2.271, allocations: 4 kB / 0.7852 GB, free: 72.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/2.272, allocations: 0.7486 MB / 0.7859 GB, free: 72.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/2.272, allocations: 3.984 kB / 0.7859 GB, free: 72.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/2.272, allocations: 4 kB / 0.7859 GB, free: 72.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/2.272, allocations: 4 kB / 0.7859 GB, free: 72.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/2.272, allocations: 15.94 kB / 0.7859 GB, free: 72.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/2.272, allocations: 11.98 kB / 0.7859 GB, free: 72.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/2.272, allocations: 0 / 0.7859 GB, free: 72.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/2.273, allocations: 1.199 MB / 0.7871 GB, free: 70.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/2.273, allocations: 75.19 kB / 0.7872 GB, free: 70.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/2.273, allocations: 7.938 kB / 0.7872 GB, free: 70.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/2.273, allocations: 4 kB / 0.7872 GB, free: 70.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/2.273, allocations: 19.97 kB / 0.7872 GB, free: 70.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/2.273, allocations: 20.06 kB / 0.7872 GB, free: 70.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.722e-05/2.273, allocations: 99.64 kB / 0.7873 GB, free: 70.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.273, allocations: 2.719 kB / 0.7873 GB, free: 70.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008836/2.274, allocations: 386.9 kB / 0.7877 GB, free: 70.3 MB / 0.5294 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.001333/2.276, allocations: 0.5416 MB / 0.7882 GB, free: 69.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001271/2.277, allocations: 1.572 MB / 0.7897 GB, free: 68.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.277, allocations: 4 kB / 0.7898 GB, free: 68.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007904/2.278, allocations: 1.648 MB / 0.7914 GB, free: 66.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/2.28, allocations: 469.6 kB / 0.7918 GB, free: 65.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/2.282, allocations: 2.291 MB / 0.794 GB, free: 63.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/2.283, allocations: 0.7115 MB / 0.7947 GB, free: 62.58 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/2.283, allocations: 79.44 kB / 0.7948 GB, free: 62.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.673e-06/2.283, allocations: 4 kB / 0.7948 GB, free: 62.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.02544/2.309, allocations: 19.4 MB / 0.8138 GB, free: 43.41 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.628320714924484] Failed to read output from testmodel.py, exit status != 0: 2.316979266703129 2.328162521 0.07799104200000001 Calling exit ...