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.001364/0.001364, allocations: 108.7 kB / 16.46 MB, free: 6.508 MB / 14.72 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.001356/0.001356, allocations: 216.2 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01329/0.01329, allocations: 2.786 MB / 311.6 MB, free: 1.48 MB / 238.1 MB " [Timeout remaining time 180] 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.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: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 433.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.0999, allocations: 54.14 MB / 487.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.3198/0.4197, allocations: 83.44 MB / 0.5577 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04379/0.4635, allocations: 40.81 MB / 0.5976 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.4646, allocations: 4 kB / 0.5976 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.4682, allocations: 1.243 MB / 0.5988 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02207/0.4903, allocations: 6.966 MB / 0.6056 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.4915, allocations: 270.1 kB / 0.6059 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00239/0.4939, allocations: 1.346 MB / 0.6072 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.494, allocations: 51.02 kB / 0.6072 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006957/0.4947, allocations: 429.9 kB / 0.6076 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.4954, allocations: 0.4935 MB / 0.6081 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.4955, allocations: 40 kB / 0.6082 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.735/2.23, allocations: 167.5 MB / 0.7717 GB, free: 112.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/2.231, allocations: 151.6 kB / 0.7718 GB, free: 112.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009036/2.232, allocations: 0.6007 MB / 0.7724 GB, free: 112.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/2.242, allocations: 2.783 MB / 0.7751 GB, free: 110.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/2.242, allocations: 0 / 0.7751 GB, free: 110.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/2.242, allocations: 3.938 kB / 0.7751 GB, free: 110.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.506e-05/2.242, allocations: 0 / 0.7751 GB, free: 110.7 MB / 0.545 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.002105/2.244, allocations: 1.624 MB / 0.7767 GB, free: 109.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/2.244, allocations: 11.98 kB / 0.7767 GB, free: 109.3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/2.244, allocations: 202.4 kB / 0.7769 GB, free: 109.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/2.248, allocations: 1.22 MB / 0.7781 GB, free: 108.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/2.249, allocations: 289 kB / 0.7784 GB, free: 108.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/2.249, allocations: 69.62 kB / 0.7785 GB, free: 108.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/2.249, allocations: 98.19 kB / 0.7786 GB, free: 108.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/2.251, allocations: 1.702 MB / 0.7802 GB, free: 107.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/2.251, allocations: 0 / 0.7802 GB, free: 107.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/2.251, allocations: 39.69 kB / 0.7803 GB, free: 107.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/2.251, allocations: 70.69 kB / 0.7803 GB, free: 107.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/2.252, allocations: 1.603 MB / 0.7819 GB, free: 106.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/2.257, allocations: 8.583 MB / 0.7903 GB, free: 97.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/2.258, allocations: 0.5303 MB / 0.7908 GB, free: 97.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/2.258, allocations: 0.4973 MB / 0.7913 GB, free: 97.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/2.26, allocations: 2.36 MB / 0.7936 GB, free: 94.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/2.26, allocations: 38.38 kB / 0.7936 GB, free: 94.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 1.814e-06/2.26, allocations: 0 / 0.7936 GB, free: 94.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=182): time 0.003321/2.264, allocations: 1.525 MB / 0.7951 GB, free: 93.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/2.264, allocations: 81.09 kB / 0.7952 GB, free: 93.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/2.264, allocations: 133.1 kB / 0.7953 GB, free: 93.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/2.264, allocations: 29.58 kB / 0.7953 GB, free: 93.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/2.264, allocations: 399.5 kB / 0.7957 GB, free: 93.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/2.264, allocations: 0.5998 MB / 0.7963 GB, free: 92.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/2.264, allocations: 143.5 kB / 0.7964 GB, free: 92.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/2.264, allocations: 306 kB / 0.7967 GB, free: 92.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/2.265, allocations: 343.5 kB / 0.7971 GB, free: 92.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/2.265, allocations: 496.2 kB / 0.7975 GB, free: 91.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/2.266, allocations: 1.024 MB / 0.7985 GB, free: 91.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/2.266, allocations: 8 kB / 0.7985 GB, free: 91.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001225/2.267, allocations: 1.037 MB / 0.7996 GB, free: 90.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/2.267, allocations: 8 kB / 0.7996 GB, free: 90.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/2.267, allocations: 6.609 kB / 0.7996 GB, free: 90.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/2.267, allocations: 8.406 kB / 0.7996 GB, free: 90.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/2.268, allocations: 31.56 kB / 0.7996 GB, free: 90.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/2.268, allocations: 10.98 kB / 0.7996 GB, free: 90.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/2.268, allocations: 82.7 kB / 0.7997 GB, free: 90.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/2.268, allocations: 22.75 kB / 0.7997 GB, free: 90.56 MB / 0.545 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.0003353/2.268, allocations: 216.4 kB / 0.7999 GB, free: 90.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/2.268, allocations: 55.52 kB / 0.8 GB, free: 90.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/2.268, allocations: 38.7 kB / 0.8 GB, free: 90.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/2.269, allocations: 11.11 kB / 0.8 GB, free: 90.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/2.269, allocations: 4 kB / 0.8 GB, free: 90.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/2.269, allocations: 6.234 kB / 0.8 GB, free: 90.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/2.27, allocations: 1.04 MB / 0.8011 GB, free: 89.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/2.27, allocations: 0 / 0.8011 GB, free: 89.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/2.27, allocations: 8 kB / 0.8011 GB, free: 89.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/2.27, allocations: 0 / 0.8011 GB, free: 89.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/2.27, allocations: 16 kB / 0.8011 GB, free: 89.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/2.27, allocations: 64 / 0.8011 GB, free: 89.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.27, allocations: 6.625 kB / 0.8011 GB, free: 89.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/2.271, allocations: 1.195 MB / 0.8022 GB, free: 88.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/2.271, allocations: 156.3 kB / 0.8024 GB, free: 88.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/2.271, allocations: 4 kB / 0.8024 GB, free: 88.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/2.271, allocations: 0 / 0.8024 GB, free: 88.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/2.271, allocations: 23.98 kB / 0.8024 GB, free: 88.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/2.271, allocations: 12 kB / 0.8024 GB, free: 88.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.065e-05/2.271, allocations: 98.08 kB / 0.8025 GB, free: 87.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.271, allocations: 0 / 0.8025 GB, free: 87.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009979/2.272, allocations: 389.6 kB / 0.8029 GB, free: 87.56 MB / 0.545 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.003212/2.275, allocations: 2.164 MB / 0.805 GB, free: 85.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001468/2.277, allocations: 1.576 MB / 0.8066 GB, free: 83.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.277, allocations: 0 / 0.8066 GB, free: 83.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008117/2.278, allocations: 1.634 MB / 0.8081 GB, free: 81.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/2.28, allocations: 473.6 kB / 0.8086 GB, free: 81.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/2.283, allocations: 2.376 MB / 0.8109 GB, free: 78.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/2.284, allocations: 1.297 MB / 0.8122 GB, free: 77.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005462/2.284, allocations: 182.1 kB / 0.8124 GB, free: 77.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/2.285, allocations: 0.6282 MB / 0.813 GB, free: 76.73 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/2.285, allocations: 0 / 0.813 GB, free: 76.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0702/2.355, allocations: 41.92 MB / 0.8539 GB, free: 35.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/14.06, allocations: 12.88 kB / 0.8539 GB, free: 35.15 MB / 0.545 GB " [Timeout remaining time 646] (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: 18.359360333997756] Failed to read output from testmodel.py, exit status != 0: 14.374969014432281 14.394656415 12.14883183 Calling exit ...