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.001299/0.001299, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001502/0.001502, allocations: 220.2 kB / 23.03 MB, free: 4.941 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.01337/0.01337, allocations: 2.811 MB / 316 MB, free: 96 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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="cs",version="2.0",platforms={"static"}) [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.001922/0.001922, allocations: 63.91 kB / 439.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09083/0.09275, allocations: 54.17 MB / 493.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2767/0.3695, allocations: 73.91 MB / 0.5542 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03733/0.4068, allocations: 35.2 MB / 0.5886 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.4078, allocations: 4 kB / 0.5886 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.4107, allocations: 0.9977 MB / 0.5896 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01817/0.4289, allocations: 6.764 MB / 0.5962 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.4298, allocations: 274.1 kB / 0.5964 GB, free: 444 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.4317, allocations: 1.338 MB / 0.5977 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.4318, allocations: 51.2 kB / 0.5978 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.4323, allocations: 433.9 kB / 0.5982 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006683/0.433, allocations: 0.4935 MB / 0.5987 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.433, allocations: 36 kB / 0.5987 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.87/2.303, allocations: 170 MB / 0.7648 GB, free: 86.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/2.303, allocations: 149.4 kB / 0.7649 GB, free: 86.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007845/2.304, allocations: 490.9 kB / 0.7654 GB, free: 86.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009054/2.313, allocations: 2.791 MB / 0.7681 GB, free: 84.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/2.313, allocations: 0 / 0.7681 GB, free: 84.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/2.313, allocations: 0 / 0.7681 GB, free: 84.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.947e-05/2.313, allocations: 0 / 0.7681 GB, free: 84.53 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.001699/2.315, allocations: 1.538 MB / 0.7696 GB, free: 83.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/2.315, allocations: 8.031 kB / 0.7696 GB, free: 83.17 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.501e-05/2.315, allocations: 34.19 kB / 0.7697 GB, free: 83.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/2.315, allocations: 205.8 kB / 0.7699 GB, free: 83.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004756/2.32, allocations: 1.216 MB / 0.771 GB, free: 82.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/2.32, allocations: 228.8 kB / 0.7713 GB, free: 82.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.305e-05/2.32, allocations: 74.06 kB / 0.7713 GB, free: 81.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/2.32, allocations: 96.42 kB / 0.7714 GB, free: 81.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/2.322, allocations: 1.744 MB / 0.7731 GB, free: 80.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/2.322, allocations: 0 / 0.7731 GB, free: 80.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/2.322, allocations: 42.38 kB / 0.7732 GB, free: 80.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/2.322, allocations: 74.44 kB / 0.7732 GB, free: 80.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/2.324, allocations: 1.667 MB / 0.7749 GB, free: 79.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/2.328, allocations: 3.627 MB / 0.7784 GB, free: 77.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/2.328, allocations: 0.5271 MB / 0.7789 GB, free: 77.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/2.329, allocations: 0.4956 MB / 0.7794 GB, free: 77.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/2.33, allocations: 1.345 MB / 0.7807 GB, free: 76.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/2.33, allocations: 34.31 kB / 0.7808 GB, free: 75.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.424e-06/2.33, allocations: 0 / 0.7808 GB, free: 75.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01046/2.341, allocations: 1.524 MB / 0.7822 GB, free: 75.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/2.341, allocations: 81.11 kB / 0.7823 GB, free: 74.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/2.341, allocations: 133.2 kB / 0.7824 GB, free: 74.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/2.341, allocations: 36.42 kB / 0.7825 GB, free: 74.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/2.341, allocations: 415.2 kB / 0.7829 GB, free: 74.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/2.341, allocations: 0.598 MB / 0.7835 GB, free: 73.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/2.342, allocations: 139.7 kB / 0.7836 GB, free: 73.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.774e-05/2.342, allocations: 306 kB / 0.7839 GB, free: 73.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/2.342, allocations: 340.7 kB / 0.7842 GB, free: 73.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/2.342, allocations: 0.4922 MB / 0.7847 GB, free: 72.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009853/2.343, allocations: 1.027 MB / 0.7857 GB, free: 72.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/2.343, allocations: 4 kB / 0.7857 GB, free: 72.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001389/2.345, allocations: 1.055 MB / 0.7867 GB, free: 71.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/2.345, allocations: 8 kB / 0.7867 GB, free: 71.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/2.345, allocations: 4 kB / 0.7867 GB, free: 71.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/2.345, allocations: 4 kB / 0.7867 GB, free: 71.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/2.345, allocations: 32.58 kB / 0.7868 GB, free: 71.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/2.345, allocations: 11.92 kB / 0.7868 GB, free: 71.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/2.345, allocations: 87.14 kB / 0.7869 GB, free: 71.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/2.346, allocations: 20.41 kB / 0.7869 GB, free: 71.11 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.0004555/2.346, allocations: 232.4 kB / 0.7871 GB, free: 70.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/2.346, allocations: 51.58 kB / 0.7872 GB, free: 70.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.97e-05/2.346, allocations: 31.89 kB / 0.7872 GB, free: 70.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/2.346, allocations: 11.98 kB / 0.7872 GB, free: 70.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/2.346, allocations: 0 / 0.7872 GB, free: 70.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/2.346, allocations: 0 / 0.7872 GB, free: 70.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/2.348, allocations: 0.9284 MB / 0.7881 GB, free: 69.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/2.348, allocations: 0 / 0.7881 GB, free: 69.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/2.348, allocations: 10.16 kB / 0.7881 GB, free: 69.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/2.348, allocations: 4.062 kB / 0.7881 GB, free: 69.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/2.348, allocations: 23.98 kB / 0.7881 GB, free: 69.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/2.348, allocations: 0 / 0.7881 GB, free: 69.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.348, allocations: 0 / 0.7881 GB, free: 69.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/2.349, allocations: 1.2 MB / 0.7893 GB, free: 68.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/2.349, allocations: 83.14 kB / 0.7894 GB, free: 68.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/2.349, allocations: 4 kB / 0.7894 GB, free: 68.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/2.349, allocations: 4 kB / 0.7894 GB, free: 68.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/2.349, allocations: 23.97 kB / 0.7894 GB, free: 68.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/2.349, allocations: 12 kB / 0.7894 GB, free: 68.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.123e-05/2.349, allocations: 95.64 kB / 0.7895 GB, free: 68.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.349, allocations: 8 kB / 0.7895 GB, free: 68.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009764/2.35, allocations: 386.9 kB / 0.7899 GB, free: 67.97 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.00238/2.353, allocations: 2.186 MB / 0.792 GB, free: 65.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001394/2.354, allocations: 1.569 MB / 0.7936 GB, free: 64.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/2.354, allocations: 0 / 0.7936 GB, free: 64.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/2.356, allocations: 1.635 MB / 0.7952 GB, free: 62.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/2.358, allocations: 477.5 kB / 0.7956 GB, free: 61.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/2.361, allocations: 2.409 MB / 0.798 GB, free: 59.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/2.362, allocations: 0.7154 MB / 0.7987 GB, free: 58.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006279/2.363, allocations: 171.5 kB / 0.7988 GB, free: 58.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/2.363, allocations: 0.6306 MB / 0.7995 GB, free: 57.67 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/2.363, allocations: 0 / 0.7995 GB, free: 57.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07317/2.436, allocations: 45.42 MB / 0.8438 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/17.25, allocations: 10.64 kB / 0.8438 GB, free: 12.57 MB / 0.5294 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.399285299004987] Failed to read output from testmodel.py, exit status != 0: 17.65697580005508 17.669272423 15.353383626 Calling exit ...