Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001139/0.001139, 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.001308/0.001308, 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.8734/0.8734, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.007726/0.007726, allocations: 1.984 MB / 261.2 MB, free: 11.16 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.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.35e-05, allocations: 2.281 kB / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.1899/0.1899, allocations: 73.55 MB / 458.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.2109, allocations: 35.19 MB / 493.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000946/0.2119, allocations: 4 kB / 493.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.214, allocations: 1.024 MB / 494.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.2295, allocations: 7.044 MB / 0.4897 GB, free: 80 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.2302, allocations: 277.8 kB / 0.49 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2316, allocations: 1.446 MB / 0.4914 GB, free: 14.35 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2317, allocations: 47.22 kB / 0.4915 GB, free: 14.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.2321, allocations: 0.6114 MB / 0.4921 GB, free: 13.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.2325, allocations: 398.8 kB / 0.4924 GB, free: 13.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.2325, allocations: 36 kB / 0.4925 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.102/1.335, allocations: 167.9 MB / 0.6565 GB, free: 56.73 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/1.335, allocations: 152.4 kB / 0.6566 GB, free: 56.7 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005724/1.336, allocations: 407.2 kB / 0.657 GB, free: 56.41 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006222/1.342, allocations: 2.778 MB / 0.6597 GB, free: 54.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.342, allocations: 7.938 kB / 0.6597 GB, free: 54.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.342, allocations: 3.953 kB / 0.6597 GB, free: 54.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/1.342, allocations: 0 / 0.6597 GB, free: 54.78 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.001036/1.343, allocations: 1.521 MB / 0.6612 GB, free: 53.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/1.343, allocations: 12.03 kB / 0.6612 GB, free: 53.46 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/1.343, allocations: 203.8 kB / 0.6614 GB, free: 53.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/1.345, allocations: 1.213 MB / 0.6626 GB, free: 52.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/1.345, allocations: 228 kB / 0.6628 GB, free: 52.35 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/1.345, allocations: 76.75 kB / 0.6629 GB, free: 52.31 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/1.345, allocations: 92.14 kB / 0.663 GB, free: 52.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/1.347, allocations: 1.748 MB / 0.6647 GB, free: 51.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/1.347, allocations: 3.938 kB / 0.6647 GB, free: 51.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/1.347, allocations: 42.3 kB / 0.6647 GB, free: 51.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/1.347, allocations: 70.94 kB / 0.6648 GB, free: 51.15 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009211/1.348, allocations: 1.667 MB / 0.6664 GB, free: 50.22 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/1.35, allocations: 3.608 MB / 0.6699 GB, free: 47.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/1.35, allocations: 0.5275 MB / 0.6705 GB, free: 47.55 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/1.351, allocations: 0.4963 MB / 0.6709 GB, free: 47.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009017/1.352, allocations: 1.34 MB / 0.6723 GB, free: 46.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/1.352, allocations: 38.56 kB / 0.6723 GB, free: 46.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=182): time 1.422e-06/1.352, allocations: 0 / 0.6723 GB, free: 46.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=182): time 0.001041/1.353, allocations: 1.522 MB / 0.6738 GB, free: 44.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/1.353, allocations: 81.11 kB / 0.6739 GB, free: 44.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.231e-05/1.353, allocations: 137.7 kB / 0.674 GB, free: 44.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/1.353, allocations: 33.7 kB / 0.674 GB, free: 44.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/1.353, allocations: 404.9 kB / 0.6744 GB, free: 44.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.353, allocations: 0.5897 MB / 0.675 GB, free: 43.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/1.353, allocations: 137.6 kB / 0.6751 GB, free: 43.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 1.893e-05/1.353, allocations: 306 kB / 0.6754 GB, free: 43.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/1.353, allocations: 341.9 kB / 0.6757 GB, free: 42.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/1.354, allocations: 0.489 MB / 0.6762 GB, free: 42.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/1.354, allocations: 1.029 MB / 0.6772 GB, free: 41.08 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.354, allocations: 4 kB / 0.6772 GB, free: 41.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.000692/1.355, allocations: 1.052 MB / 0.6782 GB, free: 40.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.355, allocations: 7.938 kB / 0.6782 GB, free: 40.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.355, allocations: 4 kB / 0.6783 GB, free: 40.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.355, allocations: 4 kB / 0.6783 GB, free: 40.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/1.355, allocations: 31.2 kB / 0.6783 GB, free: 40 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/1.355, allocations: 12 kB / 0.6783 GB, free: 39.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/1.355, allocations: 85.88 kB / 0.6784 GB, free: 39.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/1.355, allocations: 27.98 kB / 0.6784 GB, free: 39.88 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.0001684/1.355, allocations: 222 kB / 0.6786 GB, free: 39.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/1.355, allocations: 51.62 kB / 0.6787 GB, free: 39.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/1.355, allocations: 39.83 kB / 0.6787 GB, free: 39.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.355, allocations: 11.98 kB / 0.6787 GB, free: 39.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.355, allocations: 0 / 0.6787 GB, free: 39.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.355, allocations: 0 / 0.6787 GB, free: 39.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/1.356, allocations: 0.9342 MB / 0.6796 GB, free: 38.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.356, allocations: 0 / 0.6796 GB, free: 38.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/1.356, allocations: 8 kB / 0.6796 GB, free: 38.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/1.356, allocations: 0 / 0.6796 GB, free: 38.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/1.356, allocations: 23.92 kB / 0.6797 GB, free: 38.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.356, allocations: 0 / 0.6797 GB, free: 38.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.356, allocations: 0 / 0.6797 GB, free: 38.56 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/1.357, allocations: 1.203 MB / 0.6808 GB, free: 37.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/1.357, allocations: 77.98 kB / 0.6809 GB, free: 37.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/1.357, allocations: 3.938 kB / 0.6809 GB, free: 37.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/1.357, allocations: 8 kB / 0.6809 GB, free: 37.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/1.357, allocations: 27.97 kB / 0.6809 GB, free: 37.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/1.357, allocations: 15.98 kB / 0.681 GB, free: 37.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.204e-05/1.357, allocations: 91.27 kB / 0.681 GB, free: 37.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.357, allocations: 0 / 0.681 GB, free: 37.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004535/1.357, allocations: 386.9 kB / 0.6814 GB, free: 36.74 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.001145/1.358, allocations: 2.187 MB / 0.6836 GB, free: 34.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007264/1.359, allocations: 1.559 MB / 0.6851 GB, free: 32.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.359, allocations: 0 / 0.6851 GB, free: 32.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/1.36, allocations: 1.647 MB / 0.6867 GB, free: 30.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/1.361, allocations: 465.6 kB / 0.6871 GB, free: 30.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/1.362, allocations: 2.366 MB / 0.6894 GB, free: 28.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/1.363, allocations: 0.7154 MB / 0.6901 GB, free: 27.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004269/1.363, allocations: 182.2 kB / 0.6903 GB, free: 27.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/1.364, allocations: 0.6253 MB / 0.6909 GB, free: 26.5 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/1.364, allocations: 0 / 0.6909 GB, free: 26.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/1.404, allocations: 44.01 MB / 0.7339 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/9.38, allocations: 0 / 0.7339 GB, free: 14.75 MB / 0.4948 GB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.8183918222785] Failed to read output from testmodel.py, exit status != 0: 9.735249824821949 9.746983163 8.40314735 Calling exit ...