Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.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.0009257/0.0009257, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008893/0.0008893, allocations: 177 kB / 23.36 MB, free: 1.129 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.8728/0.8728, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.007323/0.007323, allocations: 1.992 MB / 262.2 MB, free: 10.94 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.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") translateModel(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 279.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.411e-05, allocations: 2.312 kB / 279.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.1251/0.1251, allocations: 15.93 MB / 295.5 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.1396, allocations: 14.38 MB / 309.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.141, allocations: 9.438 kB / 309.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1421, allocations: 376.1 kB / 310.2 MB, free: 9.238 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setState_ph'. Notification: Performance of NFTyping.typeBindings: time 0.006257/0.1483, allocations: 1.934 MB / 312.1 MB, free: 7.73 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.1522, allocations: 1.055 MB / 313.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.1546, allocations: 1.847 MB / 315 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1548, allocations: 65.44 kB / 315.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006218/0.1611, allocations: 0.8511 MB / 316 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.1622, allocations: 495.2 kB / 316.4 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.1623, allocations: 48.84 kB / 316.5 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.1658, allocations: 0.7921 MB / 317.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.166, allocations: 202.7 kB / 317.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008512/0.1669, allocations: 478.8 kB / 317.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.1706, allocations: 1.537 MB / 319.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1706, allocations: 0 / 319.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1706, allocations: 0 / 319.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.1706, allocations: 4 kB / 319.5 MB, free: 2.332 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.001746/0.1724, allocations: 1.593 MB / 321.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1724, allocations: 12.03 kB / 321.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.1774, allocations: 2.769 MB / 323.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.178, allocations: 324.4 kB / 324.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.1781, allocations: 82.5 kB / 324.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1782, allocations: 104.4 kB / 324.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.1795, allocations: 1.168 MB / 325.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1795, allocations: 4.125 kB / 325.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.1796, allocations: 44.38 kB / 325.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.1796, allocations: 95.84 kB / 325.7 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.1802, allocations: 0.5965 MB / 326.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.1829, allocations: 3.373 MB / 329.6 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.1835, allocations: 0.5563 MB / 330.2 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.1838, allocations: 255.2 kB / 330.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.1852, allocations: 1.987 MB / 332.4 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.1853, allocations: 50.48 kB / 332.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=253): time 2.695e-06/0.1853, allocations: 0 / 332.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=253): time 0.001266/0.1865, allocations: 1.11 MB / 333.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.1866, allocations: 243.3 kB / 333.8 MB, free: 3.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1867, allocations: 186.8 kB / 334 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1867, allocations: 33.7 kB / 334 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1869, allocations: 434.9 kB / 334.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.1873, allocations: 0.8282 MB / 335.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1875, allocations: 182.2 kB / 335.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.1875, allocations: 314 kB / 335.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1877, allocations: 129.7 kB / 335.9 MB, free: 1.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.1879, allocations: 396.2 kB / 336.3 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.1883, allocations: 0.6824 MB / 337 MB, free: 208 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1883, allocations: 4 kB / 337 MB, free: 204 kB / 282.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0005902/0.1889, allocations: 0.7196 MB / 337.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.189, allocations: 10.84 kB / 337.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.189, allocations: 8 kB / 337.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.189, allocations: 12 kB / 337.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1891, allocations: 75.83 kB / 337.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1891, allocations: 15.92 kB / 337.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.1894, allocations: 134.7 kB / 338 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.1894, allocations: 19.98 kB / 338 MB, free: 15.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 16 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,state2.phase,state1.phase,baseProperties2.phaseOutput,baseProperties2.state.phase,baseProperties1.phaseOutput,baseProperties1.state.phase,baseProperties1.phaseInput,baseProperties2.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.0001709/0.1896, allocations: 161.5 kB / 338.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1897, allocations: 39.91 kB / 338.2 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.1897, allocations: 46.41 kB / 338.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.1897, allocations: 27.97 kB / 338.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1897, allocations: 0 / 338.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1897, allocations: 4 kB / 338.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.1906, allocations: 0.4937 MB / 338.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1906, allocations: 0 / 338.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.1907, allocations: 31.92 kB / 338.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1907, allocations: 7.938 kB / 338.8 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1907, allocations: 8 kB / 338.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1907, allocations: 7.984 kB / 338.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1907, allocations: 4 kB / 338.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.1914, allocations: 1.421 MB / 340.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.1915, allocations: 118.8 kB / 340.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1915, allocations: 11.98 kB / 340.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1918, allocations: 8 kB / 340.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.1918, allocations: 35.88 kB / 340.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1919, allocations: 8 kB / 340.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.016e-05/0.1919, allocations: 40.81 kB / 340.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1919, allocations: 0 / 340.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007133/0.1926, allocations: 403 kB / 340.8 MB, free: 12.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state2.phase,state1.phase,baseProperties2.state.phase,baseProperties2.phaseOutput,baseProperties1.state.phase,baseProperties1.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.0004584/0.1931, allocations: 259.2 kB / 341.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000816/0.1939, allocations: 1.37 MB / 342.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.1939, allocations: 0 / 342.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.1947, allocations: 1.728 MB / 344.2 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.1963, allocations: 0.6428 MB / 344.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.1989, allocations: 2.452 MB / 347.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1992, allocations: 371.4 kB / 347.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000648/0.1998, allocations: 429.9 kB / 348.1 MB, free: 4.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/0.2005, allocations: 491 kB / 348.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2005, allocations: 0 / 348.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of Templates: time 0.03945/0.24, allocations: 30.59 MB / 379.1 MB, free: 5.941 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.335493478924036]