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.001346/0.001346, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 191 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.141/0.141, allocations: 2.765 MB / 293.2 MB, free: 3.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.91 kB / 354.5 MB, free: 4.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.08976, allocations: 50.23 MB / 404.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2507/0.3405, allocations: 82.93 MB / 487.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04186/0.3824, allocations: 40.73 MB / 0.516 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.3839, allocations: 4.344 kB / 0.516 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.3875, allocations: 1.236 MB / 0.5172 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02558/0.4131, allocations: 6.966 MB / 0.524 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.4144, allocations: 274.2 kB / 0.5243 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.4172, allocations: 1.343 MB / 0.5256 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.4175, allocations: 103.4 kB / 0.5257 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.4185, allocations: 419.5 kB / 0.5261 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.4198, allocations: 0.4897 MB / 0.5266 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.4199, allocations: 41.89 kB / 0.5266 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521/1.941, allocations: 167.7 MB / 0.6904 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002661/1.941, allocations: 151.2 kB / 0.6905 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/1.943, allocations: 0.5953 MB / 0.6911 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01743/1.96, allocations: 2.722 MB / 0.6937 GB, free: 6.527 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.96, allocations: 0 / 0.6937 GB, free: 6.527 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/1.96, allocations: 4 kB / 0.6937 GB, free: 6.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/1.96, allocations: 0 / 0.6937 GB, free: 6.523 MB / 462.1 MB 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.002449/1.962, allocations: 1.578 MB / 0.6953 GB, free: 5.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.963, allocations: 12.03 kB / 0.6953 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002659/1.963, allocations: 195.7 kB / 0.6955 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004523/1.967, allocations: 1.217 MB / 0.6967 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/1.968, allocations: 290.5 kB / 0.6969 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-05/1.968, allocations: 71.62 kB / 0.697 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.968, allocations: 94.75 kB / 0.6971 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/1.97, allocations: 1.704 MB / 0.6988 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/1.97, allocations: 0 / 0.6988 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/1.97, allocations: 38.56 kB / 0.6988 GB, free: 2.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/1.97, allocations: 70.62 kB / 0.6989 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/1.972, allocations: 1.606 MB / 0.7004 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006827/1.979, allocations: 8.645 MB / 0.7089 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/1.981, allocations: 0.7653 MB / 0.7096 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/1.981, allocations: 0.7338 MB / 0.7103 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/1.984, allocations: 2.354 MB / 0.7126 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/1.984, allocations: 34.44 kB / 0.7127 GB, free: 6.574 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 3.717e-06/1.984, allocations: 0 / 0.7127 GB, free: 6.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=182): time 0.01286/1.997, allocations: 1.51 MB / 0.7142 GB, free: 5.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/1.997, allocations: 77.11 kB / 0.7142 GB, free: 5.531 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/1.997, allocations: 134.1 kB / 0.7144 GB, free: 5.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/1.997, allocations: 36.83 kB / 0.7144 GB, free: 5.363 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/1.997, allocations: 398.5 kB / 0.7148 GB, free: 4.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/1.998, allocations: 0.562 MB / 0.7153 GB, free: 4.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/1.998, allocations: 142.3 kB / 0.7155 GB, free: 4.367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/1.998, allocations: 309.9 kB / 0.7158 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/1.999, allocations: 341.9 kB / 0.7161 GB, free: 3.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/1.999, allocations: 0.489 MB / 0.7166 GB, free: 3.191 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/2, allocations: 1.014 MB / 0.7175 GB, free: 2.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/2, allocations: 0 / 0.7175 GB, free: 2.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001385/2.002, allocations: 1.058 MB / 0.7186 GB, free: 1.094 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/2.002, allocations: 4.406 kB / 0.7186 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/2.002, allocations: 8 kB / 0.7186 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/2.002, allocations: 7 kB / 0.7186 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/2.002, allocations: 31.17 kB / 0.7186 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/2.002, allocations: 7.938 kB / 0.7186 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/2.002, allocations: 82.81 kB / 0.7187 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/2.002, allocations: 20 kB / 0.7187 GB, free: 0.9414 MB / 478.1 MB 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.0003617/2.003, allocations: 223.5 kB / 0.7189 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/2.003, allocations: 59.19 kB / 0.719 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/2.003, allocations: 35.88 kB / 0.719 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/2.003, allocations: 4 kB / 0.719 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/2.003, allocations: 0 / 0.719 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/2.003, allocations: 3.984 kB / 0.719 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/2.004, allocations: 1.05 MB / 0.7201 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/2.004, allocations: 2.625 kB / 0.7201 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/2.004, allocations: 4 kB / 0.7201 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/2.004, allocations: 4 kB / 0.7201 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/2.004, allocations: 12 kB / 0.7201 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/2.004, allocations: 4 kB / 0.7201 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.004, allocations: 7.984 kB / 0.7201 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/2.006, allocations: 1.183 MB / 0.7213 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/2.006, allocations: 152 kB / 0.7214 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/2.006, allocations: 4 kB / 0.7214 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/2.006, allocations: 0 / 0.7214 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/2.006, allocations: 27.97 kB / 0.7214 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/2.006, allocations: 16 kB / 0.7214 GB, free: 14.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.518e-05/2.006, allocations: 99.64 kB / 0.7215 GB, free: 13.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/2.006, allocations: 0 / 0.7215 GB, free: 13.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001038/2.007, allocations: 386.6 kB / 0.7219 GB, free: 13.6 MB / 494.1 MB 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.002438/2.01, allocations: 2.162 MB / 0.724 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/2.011, allocations: 1.743 MB / 0.7257 GB, free: 9.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/2.011, allocations: 0 / 0.7257 GB, free: 9.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/2.013, allocations: 1.826 MB / 0.7275 GB, free: 7.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/2.015, allocations: 465.5 kB / 0.728 GB, free: 6.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/2.019, allocations: 2.376 MB / 0.7303 GB, free: 4.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/2.02, allocations: 1.297 MB / 0.7315 GB, free: 3.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007252/2.021, allocations: 182.7 kB / 0.7317 GB, free: 3.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/2.021, allocations: 0.6243 MB / 0.7323 GB, free: 2.441 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/2.021, allocations: 0 / 0.7323 GB, free: 2.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2836/2.305, allocations: 40.43 MB / 0.7718 GB, free: 216.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.741/11.05, allocations: 4.984 kB / 0.7718 GB, free: 216.4 MB / 0.5137 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)