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.001135/0.001135, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009173/0.0009173, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.89/0.89, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.00787/0.00787, allocations: 1.992 MB / 261.2 MB, free: 11.25 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.315e-05, allocations: 6.219 kB / 384.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.1837/0.1838, allocations: 73.55 MB / 458.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02081/0.2046, allocations: 35.2 MB / 493.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008916/0.2055, allocations: 4 kB / 493.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.2077, allocations: 1.024 MB / 494.5 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01463/0.2224, allocations: 7.036 MB / 0.4897 GB, free: 32 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000989/0.2234, allocations: 281.8 kB / 0.49 GB, free: 15.75 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.2247, allocations: 1.442 MB / 0.4914 GB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2249, allocations: 47.22 kB / 0.4915 GB, free: 14.24 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005646/0.2254, allocations: 0.6153 MB / 0.4921 GB, free: 13.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.2258, allocations: 390.8 kB / 0.4924 GB, free: 13.24 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.2259, allocations: 44 kB / 0.4925 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25/1.476, allocations: 170 MB / 0.6585 GB, free: 54.75 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/1.476, allocations: 155 kB / 0.6587 GB, free: 54.72 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006816/1.477, allocations: 405.4 kB / 0.6591 GB, free: 54.44 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007631/1.485, allocations: 2.784 MB / 0.6618 GB, free: 52.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.485, allocations: 0 / 0.6618 GB, free: 52.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.145e-06/1.485, allocations: 0 / 0.6618 GB, free: 52.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.827e-05/1.485, allocations: 0.7656 kB / 0.6618 GB, free: 52.8 MB / 474.7 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.001636/1.486, allocations: 1.523 MB / 0.6633 GB, free: 51.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.486, allocations: 12.03 kB / 0.6633 GB, free: 51.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/1.486, allocations: 201.3 kB / 0.6635 GB, free: 51.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/1.489, allocations: 1.222 MB / 0.6647 GB, free: 50.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/1.489, allocations: 225.6 kB / 0.6649 GB, free: 50.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/1.489, allocations: 72.94 kB / 0.6649 GB, free: 50.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/1.489, allocations: 93.38 kB / 0.665 GB, free: 50.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.49, allocations: 1.745 MB / 0.6667 GB, free: 49.24 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.49, allocations: 11.91 kB / 0.6668 GB, free: 49.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/1.49, allocations: 39.56 kB / 0.6668 GB, free: 49.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/1.49, allocations: 70.06 kB / 0.6669 GB, free: 49.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/1.491, allocations: 1.662 MB / 0.6685 GB, free: 48.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/1.494, allocations: 3.616 MB / 0.672 GB, free: 45.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/1.495, allocations: 0.5246 MB / 0.6725 GB, free: 45.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/1.495, allocations: 0.5015 MB / 0.673 GB, free: 45.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009779/1.496, allocations: 1.328 MB / 0.6743 GB, free: 44.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/1.496, allocations: 41.05 kB / 0.6743 GB, free: 44.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=182): time 1.723e-06/1.496, allocations: 0 / 0.6743 GB, free: 44.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=182): time 0.001065/1.497, allocations: 1.529 MB / 0.6758 GB, free: 42.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.497, allocations: 81.11 kB / 0.6759 GB, free: 42.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/1.497, allocations: 146.3 kB / 0.6761 GB, free: 42.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.497, allocations: 25.7 kB / 0.6761 GB, free: 42.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/1.497, allocations: 405 kB / 0.6765 GB, free: 41.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/1.497, allocations: 0.589 MB / 0.677 GB, free: 41.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/1.497, allocations: 141.6 kB / 0.6772 GB, free: 41.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.275e-05/1.497, allocations: 306.9 kB / 0.6775 GB, free: 40.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/1.498, allocations: 341.9 kB / 0.6778 GB, free: 40.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/1.498, allocations: 0.4959 MB / 0.6783 GB, free: 40.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/1.499, allocations: 1.025 MB / 0.6793 GB, free: 38.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.499, allocations: 3.938 kB / 0.6793 GB, free: 38.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0007009/1.499, allocations: 1.047 MB / 0.6803 GB, free: 37.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.499, allocations: 8.344 kB / 0.6803 GB, free: 37.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.499, allocations: 4.234 kB / 0.6803 GB, free: 37.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.499, allocations: 12.66 kB / 0.6803 GB, free: 37.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/1.499, allocations: 31.17 kB / 0.6804 GB, free: 37.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/1.499, allocations: 11.98 kB / 0.6804 GB, free: 37.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/1.5, allocations: 84.56 kB / 0.6805 GB, free: 37.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/1.5, allocations: 20 kB / 0.6805 GB, free: 37.75 MB / 474.7 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.000171/1.5, allocations: 222.3 kB / 0.6807 GB, free: 37.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/1.5, allocations: 55.61 kB / 0.6807 GB, free: 37.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/1.5, allocations: 35.83 kB / 0.6808 GB, free: 37.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.5, allocations: 11.98 kB / 0.6808 GB, free: 37.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/1.5, allocations: 0.7656 kB / 0.6808 GB, free: 37.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/1.5, allocations: 0 / 0.6808 GB, free: 37.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/1.5, allocations: 0.9288 MB / 0.6817 GB, free: 36.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.5, allocations: 4 kB / 0.6817 GB, free: 36.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/1.5, allocations: 4.875 kB / 0.6817 GB, free: 36.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.5, allocations: 0 / 0.6817 GB, free: 36.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/1.5, allocations: 19.94 kB / 0.6817 GB, free: 36.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.5, allocations: 0 / 0.6817 GB, free: 36.44 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.5, allocations: 0 / 0.6817 GB, free: 36.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/1.501, allocations: 1.203 MB / 0.6829 GB, free: 35.22 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/1.501, allocations: 84.94 kB / 0.683 GB, free: 35.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/1.501, allocations: 11.92 kB / 0.683 GB, free: 35.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/1.501, allocations: 4 kB / 0.683 GB, free: 35.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/1.501, allocations: 19.98 kB / 0.683 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/1.501, allocations: 12 kB / 0.683 GB, free: 35.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.436e-05/1.501, allocations: 99.81 kB / 0.6831 GB, free: 35 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.501, allocations: 0 / 0.6831 GB, free: 35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005015/1.502, allocations: 383.6 kB / 0.6835 GB, free: 34.62 MB / 474.7 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.001207/1.503, allocations: 2.19 MB / 0.6856 GB, free: 32.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007508/1.504, allocations: 1.557 MB / 0.6871 GB, free: 30.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.504, allocations: 0 / 0.6871 GB, free: 30.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/1.504, allocations: 1.651 MB / 0.6888 GB, free: 28.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.505, allocations: 469.6 kB / 0.6892 GB, free: 28.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/1.507, allocations: 2.363 MB / 0.6915 GB, free: 25.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/1.508, allocations: 0.7154 MB / 0.6922 GB, free: 25.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004967/1.508, allocations: 182.8 kB / 0.6924 GB, free: 25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.509, allocations: 0.6291 MB / 0.693 GB, free: 24.37 MB / 474.7 MB Notification: Performance of SimCode: time 6.02e-07/1.509, allocations: 0 / 0.693 GB, free: 24.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/1.555, allocations: 44.21 MB / 0.7362 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/9.619, allocations: 12.78 kB / 0.7362 GB, free: 12.43 MB / 0.4948 GB " [Timeout remaining time 650] (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: 12.308762186206877] Failed to read output from testmodel.py, exit status != 0: 9.97012958675623 9.982003034 8.495321184 Calling exit ...