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.001124/0.001124, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001156/0.001156, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.008565/0.008565, allocations: 1.984 MB / 261.9 MB, free: 11.07 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.052e-06/1.052e-06, allocations: 0 / 332.3 MB, free: 16.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.526e-05, allocations: 2.312 kB / 332.3 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.00815/0.008165, allocations: 16.06 MB / 348.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.01857, allocations: 14.43 MB / 362.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.01888, allocations: 7.938 kB / 362.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007104/0.01959, allocations: 361.2 kB / 363.2 MB, free: 1.992 MB / 282.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.003533/0.02313, allocations: 1.908 MB / 365.1 MB, free: 72 kB / 282.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.002464/0.02559, allocations: 1.052 MB / 366.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.02687, allocations: 1.858 MB / 368 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.02699, allocations: 55.91 kB / 368 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.03113, allocations: 0.8564 MB / 368.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.03158, allocations: 490.5 kB / 369.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.03164, allocations: 48 kB / 369.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.03332, allocations: 0.7924 MB / 370.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.03347, allocations: 202.7 kB / 370.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.03384, allocations: 482.7 kB / 370.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.03563, allocations: 1.533 MB / 372.4 MB, free: 8.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.03563, allocations: 4 kB / 372.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.03563, allocations: 0 / 372.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.03565, allocations: 0 / 372.4 MB, free: 8.703 MB / 298.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.00144/0.03709, allocations: 1.755 MB / 374.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.03713, allocations: 8.031 kB / 374.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.04052, allocations: 2.737 MB / 376.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.04096, allocations: 418.6 kB / 377.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.04101, allocations: 78.5 kB / 377.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.04109, allocations: 108.4 kB / 377.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.04244, allocations: 1.285 MB / 378.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.04246, allocations: 192 / 378.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.04252, allocations: 52.12 kB / 378.9 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005313/0.04305, allocations: 87.91 kB / 378.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.04428, allocations: 0.7125 MB / 379.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.04808, allocations: 4.472 MB / 384.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.04881, allocations: 0.5994 MB / 384.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.04917, allocations: 380 kB / 385.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/0.05108, allocations: 2.531 MB / 387.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.05112, allocations: 45.33 kB / 387.7 MB, free: 8.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=253): time 2.084e-06/0.05112, allocations: 0 / 387.7 MB, free: 8.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=253): time 0.001581/0.0527, allocations: 1.364 MB / 389 MB, free: 7.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.05278, allocations: 247.2 kB / 389.3 MB, free: 7.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.05294, allocations: 246 kB / 389.5 MB, free: 7.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.05296, allocations: 33.7 kB / 389.5 MB, free: 7.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.05315, allocations: 481.7 kB / 390 MB, free: 6.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/0.05353, allocations: 0.8322 MB / 390.9 MB, free: 5.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.05371, allocations: 216.2 kB / 391.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.05382, allocations: 492.4 kB / 391.5 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.05403, allocations: 178.6 kB / 391.7 MB, free: 4.828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.05444, allocations: 0.5329 MB / 392.3 MB, free: 4.168 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009969/0.05544, allocations: 0.8625 MB / 393.1 MB, free: 3.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.05545, allocations: 4 kB / 393.1 MB, free: 3.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0009251/0.05637, allocations: 0.9556 MB / 394.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.05639, allocations: 8.812 kB / 394.1 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.0564, allocations: 4 kB / 394.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.05642, allocations: 12 kB / 394.1 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.0566, allocations: 79.84 kB / 394.2 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.05661, allocations: 11.98 kB / 394.2 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.05682, allocations: 130.7 kB / 394.3 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.05686, allocations: 32 kB / 394.3 MB, free: 1.949 MB / 314.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,baseProperties2.phaseInput,baseProperties1.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.0001929/0.05705, allocations: 202.9 kB / 394.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.05718, allocations: 91.38 kB / 394.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.05725, allocations: 50.42 kB / 394.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.05727, allocations: 23.97 kB / 394.7 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.05727, allocations: 4 kB / 394.7 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.05729, allocations: 7.984 kB / 394.7 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000741/0.05803, allocations: 0.7066 MB / 395.4 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.05803, allocations: 4 kB / 395.4 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.05811, allocations: 31.98 kB / 395.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.05811, allocations: 4 kB / 395.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.05814, allocations: 19.98 kB / 395.5 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.05814, allocations: 7.938 kB / 395.5 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.05815, allocations: 0 / 395.5 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.05923, allocations: 1.88 MB / 397.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.05931, allocations: 110.9 kB / 397.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.05934, allocations: 11.98 kB / 397.5 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.05962, allocations: 8 kB / 397.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.0597, allocations: 43.88 kB / 397.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.05972, allocations: 24 kB / 397.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.684e-05/0.05979, allocations: 152.1 kB / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05979, allocations: 0 / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007709/0.06056, allocations: 407 kB / 398.1 MB, free: 14.1 MB / 330.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.0005375/0.06109, allocations: 260.5 kB / 398.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.06227, allocations: 1.501 MB / 399.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.06227, allocations: 0 / 399.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.06349, allocations: 1.816 MB / 401.7 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.06532, allocations: 0.6358 MB / 402.3 MB, free: 9.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.06775, allocations: 2.481 MB / 404.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.06804, allocations: 367.5 kB / 405.2 MB, free: 6.461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006004/0.06864, allocations: 422.8 kB / 405.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.06876, allocations: 104.5 kB / 405.7 MB, free: 5.938 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.06877, allocations: 0 / 405.7 MB, free: 5.938 MB / 330.7 MB Notification: Performance of Templates: time 0.1369/0.2057, allocations: 30.09 MB / 435.8 MB, free: 68.06 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: 4.038202784955502]