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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005461/0.005461, allocations: 98.42 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 196.5 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01251/0.01251, allocations: 2.784 MB / 293.3 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 405.4 MB, free: 29.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.08977, allocations: 50.23 MB / 455.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3331/0.423, allocations: 82.92 MB / 0.526 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03166/0.4547, allocations: 40.74 MB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.4562, allocations: 5.469 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.4596, allocations: 1.236 MB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02498/0.4846, allocations: 6.967 MB / 0.5738 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.4862, allocations: 268.1 kB / 0.574 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00248/0.4887, allocations: 1.34 MB / 0.5753 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.4889, allocations: 113.8 kB / 0.5754 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.4894, allocations: 417.9 kB / 0.5758 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.49, allocations: 0.5052 MB / 0.5763 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.4901, allocations: 36 kB / 0.5764 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.502/1.992, allocations: 169.1 MB / 0.7415 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/1.992, allocations: 154.4 kB / 0.7416 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/1.993, allocations: 0.5968 MB / 0.7422 GB, free: 124 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01478/2.008, allocations: 2.79 MB / 0.745 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/2.008, allocations: 0 / 0.745 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/2.008, allocations: 0 / 0.745 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.972e-05/2.008, allocations: 4 kB / 0.745 GB, free: 122.6 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.002254/2.01, allocations: 1.621 MB / 0.7465 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/2.01, allocations: 12.03 kB / 0.7466 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/2.011, allocations: 204.2 kB / 0.7467 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/2.015, allocations: 1.216 MB / 0.7479 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/2.015, allocations: 288.3 kB / 0.7482 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/2.015, allocations: 74.12 kB / 0.7483 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/2.015, allocations: 94.44 kB / 0.7484 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/2.018, allocations: 1.7 MB / 0.75 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/2.018, allocations: 0 / 0.75 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/2.018, allocations: 41.81 kB / 0.7501 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.336e-05/2.018, allocations: 68.22 kB / 0.7501 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/2.02, allocations: 1.61 MB / 0.7517 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/2.026, allocations: 8.584 MB / 0.7601 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000954/2.027, allocations: 0.7624 MB / 0.7608 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/2.027, allocations: 0.7395 MB / 0.7616 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/2.029, allocations: 2.368 MB / 0.7639 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/2.029, allocations: 37.44 kB / 0.7639 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.335e-06/2.029, allocations: 0 / 0.7639 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01275/2.042, allocations: 1.51 MB / 0.7654 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/2.042, allocations: 81.11 kB / 0.7655 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/2.042, allocations: 137.7 kB / 0.7656 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/2.042, allocations: 25.7 kB / 0.7656 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/2.042, allocations: 414.4 kB / 0.766 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/2.043, allocations: 0.5958 MB / 0.7666 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/2.043, allocations: 138.3 kB / 0.7667 GB, free: 106 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/2.043, allocations: 306 kB / 0.767 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/2.044, allocations: 337.9 kB / 0.7673 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/2.044, allocations: 496.5 kB / 0.7678 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/2.045, allocations: 1.027 MB / 0.7688 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.045, allocations: 0 / 0.7688 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001187/2.046, allocations: 1.052 MB / 0.7698 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/2.046, allocations: 8 kB / 0.7698 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/2.046, allocations: 4.078 kB / 0.7699 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/2.046, allocations: 4.406 kB / 0.7699 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/2.046, allocations: 34.14 kB / 0.7699 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/2.046, allocations: 10.7 kB / 0.7699 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/2.047, allocations: 89.75 kB / 0.77 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/2.047, allocations: 27.94 kB / 0.77 GB, free: 102.6 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.0003313/2.047, allocations: 219.8 kB / 0.7702 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/2.047, allocations: 51.56 kB / 0.7703 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/2.047, allocations: 27.89 kB / 0.7703 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/2.047, allocations: 19.97 kB / 0.7703 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/2.047, allocations: 0 / 0.7703 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/2.047, allocations: 4 kB / 0.7703 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/2.048, allocations: 1.052 MB / 0.7713 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/2.048, allocations: 4 kB / 0.7713 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/2.048, allocations: 7.094 kB / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/2.048, allocations: 0 / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/2.048, allocations: 16 kB / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/2.048, allocations: 0 / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.048, allocations: 0 / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/2.05, allocations: 1.192 MB / 0.7725 GB, free: 99.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/2.05, allocations: 162.9 kB / 0.7727 GB, free: 99.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/2.05, allocations: 4 kB / 0.7727 GB, free: 99.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/2.05, allocations: 6.906 kB / 0.7727 GB, free: 99.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/2.05, allocations: 15.98 kB / 0.7727 GB, free: 99.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/2.05, allocations: 16 kB / 0.7727 GB, free: 99.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.839e-05/2.05, allocations: 95.27 kB / 0.7728 GB, free: 99.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/2.05, allocations: 4 kB / 0.7728 GB, free: 99.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00091/2.051, allocations: 386.9 kB / 0.7732 GB, free: 99.25 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.001878/2.053, allocations: 2.164 MB / 0.7753 GB, free: 97.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001456/2.054, allocations: 1.745 MB / 0.777 GB, free: 95.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.054, allocations: 0 / 0.777 GB, free: 95.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008923/2.055, allocations: 1.819 MB / 0.7788 GB, free: 93.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/2.058, allocations: 477.5 kB / 0.7792 GB, free: 92.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/2.061, allocations: 2.384 MB / 0.7816 GB, free: 90.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/2.062, allocations: 1.289 MB / 0.7828 GB, free: 88.87 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006564/2.062, allocations: 179.5 kB / 0.783 GB, free: 88.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/2.063, allocations: 0.6243 MB / 0.7836 GB, free: 88.07 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/2.063, allocations: 0 / 0.7836 GB, free: 88.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/2.128, allocations: 41.92 MB / 0.8246 GB, free: 46.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/13.36, allocations: 4.016 kB / 0.8246 GB, free: 46.53 MB / 0.5294 GB (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)