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.006983/0.006983, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001519/0.001519, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0124/0.0124, allocations: 2.781 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 59.91 kB / 405.4 MB, free: 29.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.09149, allocations: 50.24 MB / 455.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3169/0.4084, allocations: 82.92 MB / 0.526 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03455/0.443, allocations: 40.74 MB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.4445, allocations: 5.031 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.4484, allocations: 1.246 MB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02588/0.4743, allocations: 6.961 MB / 0.5738 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.4758, allocations: 255.8 kB / 0.574 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003386/0.4792, allocations: 1.355 MB / 0.5753 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.4795, allocations: 108.3 kB / 0.5755 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.4803, allocations: 417.9 kB / 0.5758 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.4811, allocations: 0.4897 MB / 0.5763 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.4811, allocations: 43.94 kB / 0.5764 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.934/2.415, allocations: 169.1 MB / 0.7415 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/2.415, allocations: 148.7 kB / 0.7416 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/2.416, allocations: 0.6013 MB / 0.7422 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/2.431, allocations: 2.778 MB / 0.745 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/2.431, allocations: 0 / 0.745 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/2.431, allocations: 0 / 0.745 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.71e-05/2.431, allocations: 0 / 0.745 GB, free: 122.8 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.002062/2.433, allocations: 1.631 MB / 0.7465 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/2.433, allocations: 12.03 kB / 0.7466 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/2.433, allocations: 200.1 kB / 0.7467 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/2.438, allocations: 1.218 MB / 0.7479 GB, free: 121 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/2.438, allocations: 283.4 kB / 0.7482 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/2.438, allocations: 74.03 kB / 0.7483 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/2.438, allocations: 98.56 kB / 0.7484 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/2.44, allocations: 1.697 MB / 0.75 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/2.44, allocations: 0 / 0.75 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/2.44, allocations: 38.69 kB / 0.7501 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/2.44, allocations: 72.34 kB / 0.7501 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/2.442, allocations: 1.612 MB / 0.7517 GB, free: 119 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/2.447, allocations: 8.578 MB / 0.7601 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008856/2.448, allocations: 0.766 MB / 0.7608 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/2.449, allocations: 0.7381 MB / 0.7616 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/2.451, allocations: 2.371 MB / 0.7639 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/2.451, allocations: 33.94 kB / 0.7639 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.415e-06/2.451, allocations: 4 kB / 0.7639 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01344/2.464, allocations: 1.511 MB / 0.7654 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/2.464, allocations: 83.64 kB / 0.7655 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/2.464, allocations: 137.4 kB / 0.7656 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/2.464, allocations: 25.7 kB / 0.7656 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/2.464, allocations: 413.6 kB / 0.766 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/2.465, allocations: 0.5968 MB / 0.7666 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/2.465, allocations: 138.3 kB / 0.7667 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.214e-05/2.465, allocations: 310 kB / 0.767 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/2.465, allocations: 337.9 kB / 0.7673 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/2.466, allocations: 496.7 kB / 0.7678 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/2.467, allocations: 1.025 MB / 0.7688 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/2.467, allocations: 0 / 0.7688 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001145/2.468, allocations: 1.061 MB / 0.7699 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/2.468, allocations: 8 kB / 0.7699 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/2.468, allocations: 4.406 kB / 0.7699 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/2.468, allocations: 8 kB / 0.7699 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/2.468, allocations: 31.36 kB / 0.7699 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/2.468, allocations: 4.234 kB / 0.7699 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/2.468, allocations: 85.77 kB / 0.77 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/2.468, allocations: 24 kB / 0.77 GB, free: 102.7 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.000362/2.469, allocations: 219.9 kB / 0.7702 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/2.469, allocations: 55.56 kB / 0.7703 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.235e-05/2.469, allocations: 38.41 kB / 0.7703 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/2.469, allocations: 4 kB / 0.7703 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/2.469, allocations: 0 / 0.7703 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/2.469, allocations: 3.984 kB / 0.7703 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009835/2.47, allocations: 1.053 MB / 0.7713 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/2.47, allocations: 0 / 0.7713 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/2.47, allocations: 8 kB / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/2.47, allocations: 0 / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/2.47, allocations: 19.98 kB / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/2.47, allocations: 0 / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.47, allocations: 0 / 0.7714 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/2.471, allocations: 1.195 MB / 0.7725 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/2.471, allocations: 158.9 kB / 0.7727 GB, free: 99.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/2.471, allocations: 4 kB / 0.7727 GB, free: 99.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/2.471, allocations: 4 kB / 0.7727 GB, free: 99.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/2.472, allocations: 19.98 kB / 0.7727 GB, free: 99.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/2.472, allocations: 12 kB / 0.7727 GB, free: 99.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.15e-05/2.472, allocations: 103.3 kB / 0.7728 GB, free: 99.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/2.472, allocations: 0 / 0.7728 GB, free: 99.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002876/2.474, allocations: 382.9 kB / 0.7732 GB, free: 99.34 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.00223/2.477, allocations: 2.176 MB / 0.7753 GB, free: 97.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001507/2.478, allocations: 1.744 MB / 0.777 GB, free: 95.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/2.478, allocations: 0 / 0.777 GB, free: 95.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009301/2.479, allocations: 1.821 MB / 0.7788 GB, free: 93.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/2.482, allocations: 465.6 kB / 0.7792 GB, free: 92.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/2.485, allocations: 2.385 MB / 0.7816 GB, free: 90.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/2.485, allocations: 1.293 MB / 0.7828 GB, free: 88.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006546/2.486, allocations: 178.7 kB / 0.783 GB, free: 88.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/2.487, allocations: 0.6243 MB / 0.7836 GB, free: 88.15 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/2.487, allocations: 0 / 0.7836 GB, free: 88.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07044/2.557, allocations: 41.92 MB / 0.8246 GB, free: 46.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/14.11, allocations: 3.953 kB / 0.8246 GB, free: 46.6 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)