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.001465/0.001465, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001762/0.001762, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.797 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.0136/0.0136, allocations: 2.805 MB / 315.2 MB, free: 108 kB / 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.002014/0.002014, allocations: 67.89 kB / 438.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1053, allocations: 54.19 MB / 492.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.3162/0.4215, allocations: 73.93 MB / 0.5535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04063/0.4622, allocations: 35.2 MB / 0.5879 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.4638, allocations: 4 kB / 0.5879 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.4675, allocations: 0.9977 MB / 0.5888 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02228/0.4897, allocations: 6.771 MB / 0.5955 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4908, allocations: 278 kB / 0.5957 GB, free: 404 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.4929, allocations: 1.338 MB / 0.597 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.493, allocations: 51.2 kB / 0.5971 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/0.4935, allocations: 429.9 kB / 0.5975 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.4942, allocations: 481.4 kB / 0.5979 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.4942, allocations: 47.98 kB / 0.598 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736/2.23, allocations: 167.9 MB / 0.7619 GB, free: 88.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/2.23, allocations: 154.7 kB / 0.7621 GB, free: 88.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008404/2.231, allocations: 486.6 kB / 0.7626 GB, free: 88.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009933/2.241, allocations: 2.8 MB / 0.7653 GB, free: 86.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/2.241, allocations: 0 / 0.7653 GB, free: 86.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/2.241, allocations: 0 / 0.7653 GB, free: 86.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.804e-05/2.241, allocations: 2.625 kB / 0.7653 GB, free: 86.68 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.002267/2.244, allocations: 1.534 MB / 0.7668 GB, free: 85.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/2.244, allocations: 8.031 kB / 0.7668 GB, free: 85.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/2.244, allocations: 199.7 kB / 0.767 GB, free: 85.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/2.248, allocations: 1.222 MB / 0.7682 GB, free: 84.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/2.248, allocations: 229.5 kB / 0.7684 GB, free: 84.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/2.248, allocations: 71.25 kB / 0.7685 GB, free: 84.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/2.248, allocations: 99 kB / 0.7686 GB, free: 84.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/2.25, allocations: 1.752 MB / 0.7703 GB, free: 83.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/2.25, allocations: 0 / 0.7703 GB, free: 83.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/2.25, allocations: 38.19 kB / 0.7703 GB, free: 83.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/2.25, allocations: 70.62 kB / 0.7704 GB, free: 83.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/2.252, allocations: 1.663 MB / 0.772 GB, free: 82.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/2.256, allocations: 3.61 MB / 0.7755 GB, free: 79.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/2.257, allocations: 0.5231 MB / 0.776 GB, free: 79.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/2.257, allocations: 0.4982 MB / 0.7765 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/2.259, allocations: 1.333 MB / 0.7778 GB, free: 78.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/2.259, allocations: 38.3 kB / 0.7779 GB, free: 78.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.743e-06/2.259, allocations: 4 kB / 0.7779 GB, free: 78.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002444/2.261, allocations: 1.522 MB / 0.7794 GB, free: 77.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/2.261, allocations: 81.11 kB / 0.7794 GB, free: 77.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/2.261, allocations: 140.9 kB / 0.7796 GB, free: 77.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/2.261, allocations: 25.7 kB / 0.7796 GB, free: 76.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/2.261, allocations: 410 kB / 0.78 GB, free: 76.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/2.262, allocations: 0.5973 MB / 0.7806 GB, free: 76.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/2.262, allocations: 137.8 kB / 0.7807 GB, free: 75.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.301e-05/2.262, allocations: 309.2 kB / 0.781 GB, free: 75.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/2.262, allocations: 344.1 kB / 0.7813 GB, free: 75.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/2.263, allocations: 0.4915 MB / 0.7818 GB, free: 75.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/2.264, allocations: 1.037 MB / 0.7828 GB, free: 74.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/2.264, allocations: 0 / 0.7828 GB, free: 74.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001111/2.265, allocations: 1.054 MB / 0.7838 GB, free: 73.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/2.265, allocations: 4 kB / 0.7838 GB, free: 73.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/2.265, allocations: 4 kB / 0.7839 GB, free: 73.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/2.265, allocations: 4.406 kB / 0.7839 GB, free: 73.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/2.266, allocations: 40.23 kB / 0.7839 GB, free: 73.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/2.266, allocations: 6.625 kB / 0.7839 GB, free: 73.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/2.266, allocations: 89.88 kB / 0.784 GB, free: 73.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/2.266, allocations: 20 kB / 0.784 GB, free: 73.36 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.0002759/2.266, allocations: 222.5 kB / 0.7842 GB, free: 73.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/2.266, allocations: 51.56 kB / 0.7843 GB, free: 73.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.52e-05/2.266, allocations: 31.89 kB / 0.7843 GB, free: 73.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/2.266, allocations: 11.98 kB / 0.7843 GB, free: 73.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/2.266, allocations: 0 / 0.7843 GB, free: 73.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/2.266, allocations: 7.984 kB / 0.7843 GB, free: 73.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/2.267, allocations: 0.9285 MB / 0.7852 GB, free: 72.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/2.267, allocations: 0 / 0.7852 GB, free: 72.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/2.267, allocations: 10.34 kB / 0.7852 GB, free: 72.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/2.267, allocations: 0 / 0.7852 GB, free: 72.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/2.267, allocations: 16 kB / 0.7852 GB, free: 72.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/2.267, allocations: 4.062 kB / 0.7853 GB, free: 72.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.267, allocations: 3.984 kB / 0.7853 GB, free: 72.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/2.268, allocations: 1.203 MB / 0.7864 GB, free: 70.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/2.268, allocations: 75.25 kB / 0.7865 GB, free: 70.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/2.268, allocations: 4 kB / 0.7865 GB, free: 70.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/2.269, allocations: 4 kB / 0.7865 GB, free: 70.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/2.269, allocations: 23.98 kB / 0.7865 GB, free: 70.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/2.269, allocations: 19.98 kB / 0.7866 GB, free: 70.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.429e-05/2.269, allocations: 91.27 kB / 0.7866 GB, free: 70.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/2.269, allocations: 3.938 kB / 0.7866 GB, free: 70.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000834/2.27, allocations: 386.9 kB / 0.787 GB, free: 70.23 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.001989/2.272, allocations: 2.185 MB / 0.7891 GB, free: 68.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00118/2.273, allocations: 1.571 MB / 0.7907 GB, free: 66.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/2.273, allocations: 0 / 0.7907 GB, free: 66.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007962/2.274, allocations: 1.644 MB / 0.7923 GB, free: 64.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/2.276, allocations: 469.3 kB / 0.7927 GB, free: 63.94 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/2.279, allocations: 2.402 MB / 0.7951 GB, free: 61.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/2.279, allocations: 0.7154 MB / 0.7958 GB, free: 60.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000606/2.28, allocations: 182.2 kB / 0.7959 GB, free: 60.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/2.281, allocations: 0.6282 MB / 0.7966 GB, free: 59.93 MB / 0.5294 GB Notification: Performance of SimCode: time 9.61e-07/2.281, allocations: 0 / 0.7966 GB, free: 59.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07219/2.353, allocations: 44.02 MB / 0.8396 GB, free: 16.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/15.48, allocations: 8.016 kB / 0.8396 GB, free: 16.24 MB / 0.5294 GB " [Timeout remaining time 644] (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: 19.83669998915866] Failed to read output from testmodel.py, exit status != 0: 15.829045608174056 15.848467567 13.60290503 Calling exit ...