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.001479/0.001479, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001553/0.001553, allocations: 217.9 kB / 22.25 MB, free: 5.125 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.957 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.01304/0.01304, allocations: 2.803 MB / 315.2 MB, free: 268 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.002/0.002, allocations: 71.88 kB / 438.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09804, allocations: 54.17 MB / 492.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2868/0.3849, allocations: 83.88 MB / 0.5633 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04181/0.4267, allocations: 40.85 MB / 0.6031 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.4277, allocations: 12 kB / 0.6032 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.4306, allocations: 1.231 MB / 0.6044 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01807/0.4487, allocations: 6.981 MB / 0.6112 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.4497, allocations: 278 kB / 0.6114 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.4518, allocations: 1.338 MB / 0.6128 GB, free: 208 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.4519, allocations: 51.2 kB / 0.6128 GB, free: 144 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.4525, allocations: 433.8 kB / 0.6132 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.4531, allocations: 0.4936 MB / 0.6137 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.4532, allocations: 40 kB / 0.6137 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.678/2.132, allocations: 167.9 MB / 0.7777 GB, free: 62.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/2.132, allocations: 159.9 kB / 0.7779 GB, free: 62.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009765/2.133, allocations: 0.5902 MB / 0.7784 GB, free: 62.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/2.144, allocations: 2.786 MB / 0.7812 GB, free: 60.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/2.144, allocations: 0 / 0.7812 GB, free: 60.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.814e-06/2.144, allocations: 0 / 0.7812 GB, free: 60.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.234e-05/2.144, allocations: 4 kB / 0.7812 GB, free: 60.37 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.001909/2.146, allocations: 1.543 MB / 0.7827 GB, free: 59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/2.146, allocations: 8.031 kB / 0.7827 GB, free: 58.99 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/2.146, allocations: 205.2 kB / 0.7829 GB, free: 58.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/2.15, allocations: 1.221 MB / 0.7841 GB, free: 58.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/2.15, allocations: 228.6 kB / 0.7843 GB, free: 57.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/2.15, allocations: 71.19 kB / 0.7844 GB, free: 57.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/2.151, allocations: 102.8 kB / 0.7845 GB, free: 57.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/2.153, allocations: 1.741 MB / 0.7862 GB, free: 56.74 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/2.153, allocations: 0 / 0.7862 GB, free: 56.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/2.153, allocations: 37.69 kB / 0.7862 GB, free: 56.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/2.153, allocations: 75.81 kB / 0.7863 GB, free: 56.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/2.154, allocations: 1.665 MB / 0.7879 GB, free: 55.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/2.16, allocations: 8.561 MB / 0.7963 GB, free: 47.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/2.161, allocations: 0.5284 MB / 0.7968 GB, free: 47.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/2.161, allocations: 0.5011 MB / 0.7973 GB, free: 46.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00178/2.163, allocations: 1.435 MB / 0.7987 GB, free: 45.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/2.163, allocations: 34.56 kB / 0.7987 GB, free: 45.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 3.236e-06/2.163, allocations: 0 / 0.7987 GB, free: 45.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.004202/2.167, allocations: 1.533 MB / 0.8002 GB, free: 44.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/2.167, allocations: 81.11 kB / 0.8003 GB, free: 44.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/2.167, allocations: 129 kB / 0.8004 GB, free: 44.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/2.167, allocations: 25.7 kB / 0.8004 GB, free: 44.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/2.167, allocations: 408.6 kB / 0.8008 GB, free: 44.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/2.168, allocations: 0.5998 MB / 0.8014 GB, free: 43.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/2.168, allocations: 139.8 kB / 0.8015 GB, free: 43.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/2.168, allocations: 310 kB / 0.8018 GB, free: 43.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/2.168, allocations: 344.4 kB / 0.8021 GB, free: 43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/2.169, allocations: 494.8 kB / 0.8026 GB, free: 42.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/2.17, allocations: 1.038 MB / 0.8036 GB, free: 42.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/2.17, allocations: 0 / 0.8036 GB, free: 42.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001319/2.171, allocations: 1.057 MB / 0.8047 GB, free: 41.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/2.171, allocations: 8 kB / 0.8047 GB, free: 41.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/2.171, allocations: 0 / 0.8047 GB, free: 41.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/2.171, allocations: 8 kB / 0.8047 GB, free: 41.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/2.171, allocations: 33.33 kB / 0.8047 GB, free: 41.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/2.171, allocations: 4 kB / 0.8047 GB, free: 41.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/2.172, allocations: 86.33 kB / 0.8048 GB, free: 41.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/2.172, allocations: 23.5 kB / 0.8048 GB, free: 41.27 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.0003519/2.172, allocations: 224.1 kB / 0.805 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/2.172, allocations: 59.52 kB / 0.8051 GB, free: 41.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.805e-05/2.172, allocations: 31.88 kB / 0.8051 GB, free: 40.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/2.172, allocations: 4 kB / 0.8051 GB, free: 40.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/2.172, allocations: 0 / 0.8051 GB, free: 40.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/2.172, allocations: 3.984 kB / 0.8051 GB, free: 40.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/2.174, allocations: 1.017 MB / 0.8061 GB, free: 39.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/2.174, allocations: 0 / 0.8061 GB, free: 39.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/2.174, allocations: 8 kB / 0.8061 GB, free: 39.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/2.174, allocations: 4 kB / 0.8061 GB, free: 39.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/2.174, allocations: 12 kB / 0.8061 GB, free: 39.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/2.174, allocations: 7.984 kB / 0.8062 GB, free: 39.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/2.174, allocations: 3.188 kB / 0.8062 GB, free: 39.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/2.175, allocations: 1.195 MB / 0.8073 GB, free: 38.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/2.175, allocations: 83.14 kB / 0.8074 GB, free: 38.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/2.175, allocations: 8 kB / 0.8074 GB, free: 38.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/2.175, allocations: 7.938 kB / 0.8074 GB, free: 38.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/2.175, allocations: 20.05 kB / 0.8074 GB, free: 38.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/2.175, allocations: 23.98 kB / 0.8075 GB, free: 38.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.488e-05/2.175, allocations: 91.27 kB / 0.8075 GB, free: 38.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/2.175, allocations: 0 / 0.8075 GB, free: 38.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001423/2.177, allocations: 383 kB / 0.8079 GB, free: 38.09 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.002216/2.179, allocations: 2.19 MB / 0.8101 GB, free: 35.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001426/2.18, allocations: 1.558 MB / 0.8116 GB, free: 34.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.18, allocations: 4 kB / 0.8116 GB, free: 34.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008839/2.181, allocations: 1.646 MB / 0.8132 GB, free: 32.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/2.183, allocations: 465.6 kB / 0.8136 GB, free: 31.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/2.187, allocations: 2.399 MB / 0.816 GB, free: 29.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008083/2.188, allocations: 1.293 MB / 0.8172 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006295/2.189, allocations: 171.5 kB / 0.8174 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/2.189, allocations: 0.6243 MB / 0.818 GB, free: 27.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/2.189, allocations: 2.719 kB / 0.818 GB, free: 27.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08261/2.272, allocations: 44.85 MB / 0.8618 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/17.29, allocations: 3.938 kB / 0.8618 GB, free: 14.74 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.633908272000554] Failed to read output from testmodel.py, exit status != 0: 17.657371196000895 17.689812559 15.539574598 Calling exit ...