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.001777/0.001777, allocations: 112.6 kB / 16.46 MB, free: 6.508 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.002161/0.002161, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.01329/0.01329, allocations: 2.8 MB / 311.7 MB, free: 1.457 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",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.001946/0.001946, allocations: 67.89 kB / 433.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1025, allocations: 54.13 MB / 487.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2836/0.3861, allocations: 83.43 MB / 0.5577 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03847/0.4246, allocations: 40.81 MB / 0.5976 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.4258, allocations: 4 kB / 0.5976 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.429, allocations: 1.243 MB / 0.5988 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02347/0.4525, allocations: 6.966 MB / 0.6056 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.4535, allocations: 274.1 kB / 0.6059 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.4562, allocations: 1.342 MB / 0.6072 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.4564, allocations: 51.02 kB / 0.6072 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.4572, allocations: 429.9 kB / 0.6076 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007422/0.458, allocations: 0.4935 MB / 0.6081 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.458, allocations: 43.94 kB / 0.6082 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.956/2.414, allocations: 169.6 MB / 0.7738 GB, free: 110.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/2.414, allocations: 149.4 kB / 0.7739 GB, free: 110.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/2.415, allocations: 0.5913 MB / 0.7745 GB, free: 110.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/2.427, allocations: 2.785 MB / 0.7772 GB, free: 108.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/2.427, allocations: 0 / 0.7772 GB, free: 108.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/2.427, allocations: 1.781 kB / 0.7772 GB, free: 108.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.817e-05/2.427, allocations: 0 / 0.7772 GB, free: 108.8 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.002102/2.429, allocations: 1.624 MB / 0.7788 GB, free: 107.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/2.429, allocations: 15.98 kB / 0.7788 GB, free: 107.4 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/2.429, allocations: 205.2 kB / 0.779 GB, free: 107.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/2.434, allocations: 1.218 MB / 0.7802 GB, free: 106.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/2.434, allocations: 283.4 kB / 0.7805 GB, free: 106.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/2.434, allocations: 70.75 kB / 0.7805 GB, free: 106.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/2.434, allocations: 95.38 kB / 0.7806 GB, free: 106.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/2.436, allocations: 1.702 MB / 0.7823 GB, free: 105.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/2.436, allocations: 0 / 0.7823 GB, free: 105.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/2.436, allocations: 41.31 kB / 0.7823 GB, free: 105.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/2.437, allocations: 82.36 kB / 0.7824 GB, free: 105.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/2.438, allocations: 1.602 MB / 0.784 GB, free: 104.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/2.443, allocations: 8.584 MB / 0.7924 GB, free: 95.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/2.444, allocations: 0.5277 MB / 0.7929 GB, free: 95.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/2.444, allocations: 0.4969 MB / 0.7934 GB, free: 95.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/2.446, allocations: 2.366 MB / 0.7957 GB, free: 92.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/2.446, allocations: 36.72 kB / 0.7957 GB, free: 92.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 1.603e-06/2.446, allocations: 0 / 0.7957 GB, free: 92.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=182): time 0.009835/2.456, allocations: 1.519 MB / 0.7972 GB, free: 91.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/2.456, allocations: 77.11 kB / 0.7973 GB, free: 91.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/2.456, allocations: 135.8 kB / 0.7974 GB, free: 91.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/2.456, allocations: 33.52 kB / 0.7974 GB, free: 91.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/2.456, allocations: 403.8 kB / 0.7978 GB, free: 91.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/2.456, allocations: 0.5942 MB / 0.7984 GB, free: 90.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/2.456, allocations: 143.7 kB / 0.7985 GB, free: 90.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.401e-05/2.456, allocations: 306 kB / 0.7988 GB, free: 90.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/2.457, allocations: 337.5 kB / 0.7991 GB, free: 90.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/2.457, allocations: 498.2 kB / 0.7996 GB, free: 89.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/2.458, allocations: 1.023 MB / 0.8006 GB, free: 89.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.458, allocations: 0 / 0.8006 GB, free: 89.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0011/2.459, allocations: 1.049 MB / 0.8016 GB, free: 88.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/2.459, allocations: 8.062 kB / 0.8016 GB, free: 88.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/2.459, allocations: 4 kB / 0.8016 GB, free: 88.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/2.459, allocations: 4 kB / 0.8016 GB, free: 88.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/2.459, allocations: 33.7 kB / 0.8017 GB, free: 88.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/2.459, allocations: 4 kB / 0.8017 GB, free: 88.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/2.459, allocations: 88.83 kB / 0.8018 GB, free: 88.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/2.459, allocations: 23.11 kB / 0.8018 GB, free: 88.56 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.0003311/2.46, allocations: 220.4 kB / 0.802 GB, free: 88.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/2.46, allocations: 62.05 kB / 0.8021 GB, free: 88.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/2.46, allocations: 32.52 kB / 0.8021 GB, free: 88.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/2.46, allocations: 11.3 kB / 0.8021 GB, free: 88.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/2.46, allocations: 0 / 0.8021 GB, free: 88.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/2.46, allocations: 0 / 0.8021 GB, free: 88.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/2.461, allocations: 1.037 MB / 0.8031 GB, free: 87.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/2.461, allocations: 0 / 0.8031 GB, free: 87.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/2.461, allocations: 8.062 kB / 0.8031 GB, free: 87.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/2.461, allocations: 4 kB / 0.8031 GB, free: 87.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/2.461, allocations: 12 kB / 0.8031 GB, free: 87.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/2.461, allocations: 8 kB / 0.8031 GB, free: 87.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/2.461, allocations: 0 / 0.8031 GB, free: 87.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/2.462, allocations: 1.198 MB / 0.8043 GB, free: 86.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/2.462, allocations: 163.4 kB / 0.8045 GB, free: 85.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/2.462, allocations: 0 / 0.8045 GB, free: 85.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/2.462, allocations: 4 kB / 0.8045 GB, free: 85.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/2.462, allocations: 23.92 kB / 0.8045 GB, free: 85.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/2.463, allocations: 20 kB / 0.8045 GB, free: 85.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.584e-05/2.463, allocations: 91.27 kB / 0.8046 GB, free: 85.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.463, allocations: 2.25 kB / 0.8046 GB, free: 85.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008955/2.463, allocations: 386.9 kB / 0.805 GB, free: 85.42 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.001907/2.465, allocations: 2.168 MB / 0.8071 GB, free: 83.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001244/2.467, allocations: 1.559 MB / 0.8086 GB, free: 81.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/2.467, allocations: 0 / 0.8086 GB, free: 81.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009232/2.468, allocations: 1.641 MB / 0.8102 GB, free: 79.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/2.47, allocations: 480 kB / 0.8107 GB, free: 79.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/2.473, allocations: 2.383 MB / 0.813 GB, free: 76.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/2.474, allocations: 1.293 MB / 0.8143 GB, free: 75.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006935/2.475, allocations: 178.2 kB / 0.8144 GB, free: 75.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/2.475, allocations: 0.6243 MB / 0.815 GB, free: 74.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/2.475, allocations: 0 / 0.815 GB, free: 74.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06695/2.542, allocations: 42.12 MB / 0.8562 GB, free: 32.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/14.33, allocations: 8.422 kB / 0.8562 GB, free: 32.87 MB / 0.545 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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.597379935905337] Failed to read output from testmodel.py, exit status != 0: 14.646884004119784 14.661417383 12.231953877 Calling exit ...