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.001863/0.001863, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00139/0.00139, allocations: 215.4 kB / 23.04 MB, free: 5.07 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.0129/0.0129, allocations: 2.794 MB / 316 MB, free: 304 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_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="cs",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.003077/0.003077, allocations: 67.89 kB / 439.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1116, allocations: 54.17 MB / 493.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2756/0.3871, allocations: 83.87 MB / 0.564 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04159/0.4287, allocations: 40.86 MB / 0.6039 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.4297, allocations: 4 kB / 0.6039 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.4328, allocations: 1.243 MB / 0.6051 GB, free: 8.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01789/0.4507, allocations: 6.978 MB / 0.612 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/0.4516, allocations: 274 kB / 0.6122 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.4537, allocations: 1.346 MB / 0.6135 GB, free: 272 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.4539, allocations: 51.19 kB / 0.6136 GB, free: 208 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.4545, allocations: 430 kB / 0.614 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.4554, allocations: 0.4935 MB / 0.6145 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.994e-05/0.4554, allocations: 40 kB / 0.6145 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.894/2.349, allocations: 170 MB / 0.7806 GB, free: 60.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/2.349, allocations: 153.1 kB / 0.7807 GB, free: 60.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/2.351, allocations: 0.5974 MB / 0.7813 GB, free: 60.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/2.365, allocations: 2.784 MB / 0.784 GB, free: 58.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/2.365, allocations: 3 kB / 0.784 GB, free: 58.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/2.365, allocations: 0 / 0.784 GB, free: 58.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.299e-05/2.365, allocations: 0 / 0.784 GB, free: 58.62 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.001957/2.367, allocations: 1.548 MB / 0.7855 GB, free: 57.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/2.367, allocations: 12.03 kB / 0.7855 GB, free: 57.24 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.989e-05/2.367, allocations: 34.19 kB / 0.7856 GB, free: 57.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/2.367, allocations: 200.3 kB / 0.7858 GB, free: 57.08 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004076/2.371, allocations: 1.22 MB / 0.7869 GB, free: 56.31 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/2.371, allocations: 227.3 kB / 0.7872 GB, free: 56.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/2.371, allocations: 70.69 kB / 0.7872 GB, free: 56.06 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/2.372, allocations: 98.81 kB / 0.7873 GB, free: 56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/2.374, allocations: 1.752 MB / 0.789 GB, free: 54.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/2.374, allocations: 0 / 0.789 GB, free: 54.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/2.374, allocations: 36.94 kB / 0.7891 GB, free: 54.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/2.374, allocations: 78.5 kB / 0.7891 GB, free: 54.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/2.376, allocations: 1.668 MB / 0.7908 GB, free: 53.97 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/2.381, allocations: 8.559 MB / 0.7991 GB, free: 45.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008138/2.382, allocations: 0.5209 MB / 0.7996 GB, free: 45.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/2.383, allocations: 0.5006 MB / 0.8001 GB, free: 45.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/2.384, allocations: 1.428 MB / 0.8015 GB, free: 43.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/2.384, allocations: 39.09 kB / 0.8016 GB, free: 43.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.264e-06/2.384, allocations: 0 / 0.8016 GB, free: 43.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01176/2.396, allocations: 1.523 MB / 0.8031 GB, free: 42.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/2.396, allocations: 77.11 kB / 0.8031 GB, free: 42.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/2.396, allocations: 141 kB / 0.8033 GB, free: 42.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/2.396, allocations: 29.7 kB / 0.8033 GB, free: 42.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/2.396, allocations: 406 kB / 0.8037 GB, free: 42.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/2.397, allocations: 0.5926 MB / 0.8043 GB, free: 41.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/2.397, allocations: 141.6 kB / 0.8044 GB, free: 41.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.41e-05/2.397, allocations: 307.7 kB / 0.8047 GB, free: 41.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/2.397, allocations: 342.5 kB / 0.805 GB, free: 41.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/2.398, allocations: 0.4893 MB / 0.8055 GB, free: 40.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000941/2.399, allocations: 1.026 MB / 0.8065 GB, free: 40.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/2.399, allocations: 4 kB / 0.8065 GB, free: 40.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001279/2.4, allocations: 1.053 MB / 0.8075 GB, free: 39.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/2.4, allocations: 16 kB / 0.8075 GB, free: 39.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/2.4, allocations: 4.062 kB / 0.8075 GB, free: 39.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/2.4, allocations: 8 kB / 0.8075 GB, free: 39.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/2.4, allocations: 35.27 kB / 0.8076 GB, free: 39.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/2.4, allocations: 7.188 kB / 0.8076 GB, free: 39.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/2.401, allocations: 87.14 kB / 0.8077 GB, free: 39.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/2.401, allocations: 19.98 kB / 0.8077 GB, free: 39.43 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.0003849/2.401, allocations: 222.7 kB / 0.8079 GB, free: 39.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/2.401, allocations: 55.58 kB / 0.808 GB, free: 39.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/2.401, allocations: 35.89 kB / 0.808 GB, free: 39.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/2.401, allocations: 3.984 kB / 0.808 GB, free: 39.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/2.401, allocations: 4 kB / 0.808 GB, free: 39.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/2.401, allocations: 0 / 0.808 GB, free: 39.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/2.403, allocations: 1.016 MB / 0.809 GB, free: 38.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/2.403, allocations: 0 / 0.809 GB, free: 38.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/2.403, allocations: 15.36 kB / 0.809 GB, free: 38.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/2.403, allocations: 0 / 0.809 GB, free: 38.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/2.403, allocations: 16 kB / 0.809 GB, free: 38.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/2.403, allocations: 4 kB / 0.809 GB, free: 38.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/2.403, allocations: 0 / 0.809 GB, free: 38.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/2.404, allocations: 1.197 MB / 0.8102 GB, free: 36.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/2.404, allocations: 79.14 kB / 0.8103 GB, free: 36.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/2.405, allocations: 11.98 kB / 0.8103 GB, free: 36.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/2.405, allocations: 3.75 kB / 0.8103 GB, free: 36.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/2.405, allocations: 19.98 kB / 0.8103 GB, free: 36.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/2.405, allocations: 16 kB / 0.8103 GB, free: 36.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.017e-05/2.405, allocations: 95.27 kB / 0.8104 GB, free: 36.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/2.405, allocations: 0 / 0.8104 GB, free: 36.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001021/2.406, allocations: 390.9 kB / 0.8108 GB, free: 36.22 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.002149/2.408, allocations: 2.187 MB / 0.8129 GB, free: 34.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001414/2.409, allocations: 1.573 MB / 0.8145 GB, free: 32.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/2.409, allocations: 0 / 0.8145 GB, free: 32.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008788/2.41, allocations: 1.643 MB / 0.8161 GB, free: 30.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/2.413, allocations: 457.6 kB / 0.8165 GB, free: 29.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/2.416, allocations: 2.408 MB / 0.8188 GB, free: 27.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/2.417, allocations: 1.289 MB / 0.8201 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007408/2.418, allocations: 181.7 kB / 0.8203 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/2.418, allocations: 0.6243 MB / 0.8209 GB, free: 25.35 MB / 0.5294 GB Notification: Performance of SimCode: time 1.893e-06/2.418, allocations: 4 kB / 0.8209 GB, free: 25.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08833/2.507, allocations: 45.08 MB / 0.8649 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/17.19, allocations: 12.11 kB / 0.8649 GB, free: 12.65 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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: 20.341215128079057] Failed to read output from testmodel.py, exit status != 0: 17.591356678982265 17.6096082 15.241062699 Calling exit ...