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.001309/0.001309, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001474/0.001474, allocations: 211 kB / 20.13 MB, free: 2.969 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.464/1.464, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.01168/0.01168, allocations: 2.796 MB / 312.4 MB, free: 2.359 MB / 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.001993/0.001993, allocations: 69.42 kB / 434.3 MB, free: 39.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09379, allocations: 54.12 MB / 488.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.08297/0.1768, allocations: 83.44 MB / 0.5584 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2686/0.4454, allocations: 40.79 MB / 0.5983 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.4465, allocations: 4.344 kB / 0.5983 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.4492, allocations: 1.236 MB / 0.5995 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01751/0.4667, allocations: 6.961 MB / 0.6063 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.4678, allocations: 275.2 kB / 0.6065 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.4701, allocations: 1.345 MB / 0.6078 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.4702, allocations: 52.92 kB / 0.6079 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.4709, allocations: 433.6 kB / 0.6083 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/0.4715, allocations: 0.4945 MB / 0.6088 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.4716, allocations: 41.03 kB / 0.6088 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.702/2.174, allocations: 169.6 MB / 0.7744 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008954/2.175, allocations: 149.9 kB / 0.7746 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00165/2.176, allocations: 0.5958 MB / 0.7752 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01287/2.189, allocations: 2.778 MB / 0.7779 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/2.189, allocations: 4 kB / 0.7779 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/2.189, allocations: 0 / 0.7779 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.844e-05/2.189, allocations: 0 / 0.7779 GB, free: 3.406 MB / 0.5762 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.002721/2.192, allocations: 1.63 MB / 0.7795 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/2.192, allocations: 11.98 kB / 0.7795 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.7e-05/2.192, allocations: 30.19 kB / 0.7795 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/2.192, allocations: 209.1 kB / 0.7797 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/2.197, allocations: 1.219 MB / 0.7809 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/2.198, allocations: 282.8 kB / 0.7812 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/2.198, allocations: 71.44 kB / 0.7812 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/2.198, allocations: 96.25 kB / 0.7813 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/2.2, allocations: 1.701 MB / 0.783 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/2.2, allocations: 0 / 0.783 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/2.2, allocations: 42 kB / 0.783 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.508e-05/2.2, allocations: 78.23 kB / 0.7831 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/2.202, allocations: 1.599 MB / 0.7847 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008391/2.211, allocations: 8.593 MB / 0.7931 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/2.212, allocations: 0.5186 MB / 0.7936 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007144/2.212, allocations: 0.4977 MB / 0.7941 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002743/2.215, allocations: 2.366 MB / 0.7964 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/2.215, allocations: 34.56 kB / 0.7964 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=182): time 2.325e-06/2.215, allocations: 0 / 0.7964 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=182): time 0.01299/2.228, allocations: 1.515 MB / 0.7979 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/2.228, allocations: 85.11 kB / 0.798 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/2.228, allocations: 133.7 kB / 0.7981 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/2.228, allocations: 29.64 kB / 0.7981 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/2.229, allocations: 406 kB / 0.7985 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000492/2.229, allocations: 0.595 MB / 0.7991 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/2.229, allocations: 141.6 kB / 0.7992 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001456/2.23, allocations: 306 kB / 0.7995 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/2.23, allocations: 337.9 kB / 0.7998 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/2.231, allocations: 0.4889 MB / 0.8003 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/2.232, allocations: 1.025 MB / 0.8013 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/2.232, allocations: 3.938 kB / 0.8013 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001572/2.234, allocations: 1.055 MB / 0.8024 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/2.234, allocations: 4 kB / 0.8024 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/2.234, allocations: 4 kB / 0.8024 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/2.234, allocations: 7.938 kB / 0.8024 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/2.234, allocations: 31.92 kB / 0.8024 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/2.234, allocations: 4 kB / 0.8024 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/2.234, allocations: 87.14 kB / 0.8025 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/2.234, allocations: 23.98 kB / 0.8025 GB, free: 10.68 MB / 0.6075 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.0003903/2.235, allocations: 228.2 kB / 0.8027 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/2.235, allocations: 51.58 kB / 0.8028 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/2.235, allocations: 35.89 kB / 0.8028 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/2.235, allocations: 3.984 kB / 0.8028 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/2.235, allocations: 4 kB / 0.8028 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/2.235, allocations: 3.938 kB / 0.8028 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/2.236, allocations: 1.037 MB / 0.8038 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.236, allocations: 3.984 kB / 0.8038 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/2.236, allocations: 4 kB / 0.8038 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/2.236, allocations: 8 kB / 0.8038 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/2.236, allocations: 8 kB / 0.8039 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/2.236, allocations: 4 kB / 0.8039 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/2.236, allocations: 0 / 0.8039 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/2.238, allocations: 1.189 MB / 0.805 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/2.238, allocations: 160.3 kB / 0.8052 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/2.238, allocations: 8 kB / 0.8052 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/2.238, allocations: 4 kB / 0.8052 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/2.238, allocations: 27.92 kB / 0.8052 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/2.238, allocations: 12 kB / 0.8052 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.547e-05/2.238, allocations: 95.27 kB / 0.8053 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/2.238, allocations: 0 / 0.8053 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001033/2.239, allocations: 386.9 kB / 0.8057 GB, free: 7.328 MB / 0.6075 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.002819/2.242, allocations: 2.174 MB / 0.8078 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00195/2.244, allocations: 1.565 MB / 0.8093 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/2.244, allocations: 0 / 0.8093 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/2.246, allocations: 1.638 MB / 0.8109 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/2.248, allocations: 473.6 kB / 0.8114 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2334/2.482, allocations: 2.38 MB / 0.8137 GB, free: 274.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/2.483, allocations: 1.295 MB / 0.815 GB, free: 273.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008761/2.483, allocations: 176.3 kB / 0.8151 GB, free: 273.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006694/2.484, allocations: 0.6288 MB / 0.8158 GB, free: 273.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/2.484, allocations: 0 / 0.8158 GB, free: 273.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07301/2.557, allocations: 42.15 MB / 0.8569 GB, free: 245.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/14.3, allocations: 16.22 kB / 0.8569 GB, free: 245.3 MB / 0.6075 GB " [Timeout remaining time 645] (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: 17.479729355021846] Failed to read output from testmodel.py, exit status != 0: 14.673921281006187 14.696203038 12.502795938 Calling exit ...