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.000799/0.000799, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008209/0.0008209, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8567/0.8567, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.007322/0.007322, allocations: 1.988 MB / 261.9 MB, free: 11.26 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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 385.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.647e-05, allocations: 6.281 kB / 385.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.1845/0.1845, allocations: 73.55 MB / 459.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02089/0.2054, allocations: 35.2 MB / 494.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008065/0.2062, allocations: 7.938 kB / 494.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.2081, allocations: 1.021 MB / 495.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01423/0.2223, allocations: 7.036 MB / 0.491 GB, free: 15.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.223, allocations: 281.8 kB / 0.4912 GB, free: 15.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.2243, allocations: 1.442 MB / 0.4926 GB, free: 14.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2244, allocations: 43.22 kB / 0.4927 GB, free: 13.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.225, allocations: 0.6192 MB / 0.4933 GB, free: 13.36 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.2253, allocations: 394.8 kB / 0.4937 GB, free: 12.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.2254, allocations: 36 kB / 0.4937 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238/1.464, allocations: 170 MB / 0.6597 GB, free: 54.34 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/1.464, allocations: 158.1 kB / 0.6599 GB, free: 54.3 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005799/1.464, allocations: 403.8 kB / 0.6603 GB, free: 54.02 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006454/1.471, allocations: 2.786 MB / 0.663 GB, free: 52.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.471, allocations: 3.688 kB / 0.663 GB, free: 52.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.275e-06/1.471, allocations: 0 / 0.663 GB, free: 52.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/1.471, allocations: 0 / 0.663 GB, free: 52.39 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.001113/1.472, allocations: 1.516 MB / 0.6645 GB, free: 51.08 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/1.472, allocations: 12.03 kB / 0.6645 GB, free: 51.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/1.474, allocations: 1.217 MB / 0.6657 GB, free: 50.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.474, allocations: 229.1 kB / 0.6659 GB, free: 50.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/1.474, allocations: 76.69 kB / 0.666 GB, free: 50.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/1.474, allocations: 88.5 kB / 0.6661 GB, free: 49.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/1.475, allocations: 1.746 MB / 0.6678 GB, free: 48.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.475, allocations: 3.094 kB / 0.6678 GB, free: 48.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/1.475, allocations: 42.31 kB / 0.6678 GB, free: 48.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/1.476, allocations: 79.19 kB / 0.6679 GB, free: 48.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/1.476, allocations: 1.663 MB / 0.6695 GB, free: 47.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/1.479, allocations: 3.438 MB / 0.6729 GB, free: 45.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/1.479, allocations: 0.5238 MB / 0.6734 GB, free: 45.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/1.48, allocations: 0.507 MB / 0.6739 GB, free: 45.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008841/1.48, allocations: 1.324 MB / 0.6752 GB, free: 44.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/1.48, allocations: 41.83 kB / 0.6752 GB, free: 44.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=182): time 1.593e-06/1.48, allocations: 0 / 0.6752 GB, free: 44.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=182): time 0.001013/1.481, allocations: 1.528 MB / 0.6767 GB, free: 42.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/1.481, allocations: 81.11 kB / 0.6768 GB, free: 42.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/1.482, allocations: 142.2 kB / 0.6769 GB, free: 42.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.482, allocations: 29.7 kB / 0.6769 GB, free: 42.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/1.482, allocations: 398.8 kB / 0.6773 GB, free: 41.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.482, allocations: 0.5842 MB / 0.6779 GB, free: 41.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-05/1.482, allocations: 141.6 kB / 0.678 GB, free: 41.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.062e-05/1.482, allocations: 306 kB / 0.6783 GB, free: 40.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/1.482, allocations: 341.9 kB / 0.6786 GB, free: 40.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/1.482, allocations: 0.4932 MB / 0.6791 GB, free: 40.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/1.483, allocations: 1.026 MB / 0.6801 GB, free: 39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.483, allocations: 4 kB / 0.6801 GB, free: 38.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0006937/1.484, allocations: 1.057 MB / 0.6812 GB, free: 37.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.484, allocations: 11.94 kB / 0.6812 GB, free: 37.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.484, allocations: 0 / 0.6812 GB, free: 37.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.484, allocations: 12.7 kB / 0.6812 GB, free: 37.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/1.484, allocations: 27.67 kB / 0.6812 GB, free: 37.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/1.484, allocations: 15.28 kB / 0.6812 GB, free: 37.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/1.484, allocations: 84.23 kB / 0.6813 GB, free: 37.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/1.484, allocations: 24 kB / 0.6813 GB, free: 37.79 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.0001651/1.484, allocations: 222.8 kB / 0.6815 GB, free: 37.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/1.484, allocations: 51.62 kB / 0.6816 GB, free: 37.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/1.484, allocations: 28.66 kB / 0.6816 GB, free: 37.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.484, allocations: 15.92 kB / 0.6816 GB, free: 37.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.484, allocations: 0 / 0.6816 GB, free: 37.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/1.484, allocations: 0 / 0.6816 GB, free: 37.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/1.485, allocations: 0.7498 MB / 0.6824 GB, free: 36.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.485, allocations: 4 kB / 0.6824 GB, free: 36.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/1.485, allocations: 10.61 kB / 0.6824 GB, free: 36.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.485, allocations: 0 / 0.6824 GB, free: 36.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/1.485, allocations: 16.77 kB / 0.6824 GB, free: 36.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.485, allocations: 0 / 0.6824 GB, free: 36.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.485, allocations: 3.938 kB / 0.6824 GB, free: 36.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/1.485, allocations: 1.199 MB / 0.6836 GB, free: 35.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/1.485, allocations: 76.89 kB / 0.6837 GB, free: 35.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/1.485, allocations: 11.98 kB / 0.6837 GB, free: 35.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/1.485, allocations: 4 kB / 0.6837 GB, free: 35.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/1.485, allocations: 23.92 kB / 0.6837 GB, free: 35.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/1.485, allocations: 12 kB / 0.6837 GB, free: 35.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.468e-05/1.486, allocations: 100.6 kB / 0.6838 GB, free: 35.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.486, allocations: 0 / 0.6838 GB, free: 35.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004713/1.486, allocations: 387.8 kB / 0.6842 GB, free: 34.85 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.0004976/1.486, allocations: 0.5542 MB / 0.6847 GB, free: 34.37 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007226/1.487, allocations: 1.56 MB / 0.6862 GB, free: 32.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.487, allocations: 0 / 0.6862 GB, free: 32.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004678/1.488, allocations: 1.648 MB / 0.6878 GB, free: 30.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.489, allocations: 469.6 kB / 0.6883 GB, free: 30.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/1.49, allocations: 2.253 MB / 0.6905 GB, free: 27.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/1.491, allocations: 0.7154 MB / 0.6912 GB, free: 27.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/1.491, allocations: 85.16 kB / 0.6913 GB, free: 27.08 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/1.491, allocations: 0 / 0.6913 GB, free: 27.08 MB / 474.7 MB Notification: Performance of Templates: time 0.01334/1.504, allocations: 19.55 MB / 0.7104 GB, free: 7.961 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.131427004002035] Failed to read output from testmodel.py, exit status != 0: 1.5097194286063313 1.520327653 0.047560041000000004 Calling exit ...