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.0006719/0.0006719, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009181/0.00159, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007086/0.0007086, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000875/0.001584, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9272/0.9272, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07758/1.005, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.006979/0.006979, allocations: 1.996 MB / 246 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001882/0.008861, allocations: 1.231 MB / 247.2 MB, free: 11.63 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.252e-06/1.252e-06, allocations: 0 / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.156e-05, allocations: 2.312 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.01007/0.01008, allocations: 16 MB / 264.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1123/0.1224, allocations: 14.39 MB / 278.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/0.123, allocations: 4.719 kB / 278.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.1237, allocations: 383.5 kB / 279.2 MB, free: 1.734 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.003277/0.1269, allocations: 1.916 MB / 281.1 MB, free: 1.207 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.002076/0.129, allocations: 1.049 MB / 282.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1304, allocations: 1.9 MB / 284.1 MB, free: 168 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1305, allocations: 63.67 kB / 284.1 MB, free: 128 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.1347, allocations: 0.8465 MB / 285 MB, free: 24 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.1352, allocations: 496.1 kB / 285.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.1353, allocations: 48.53 kB / 285.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.1372, allocations: 0.8146 MB / 286.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.1373, allocations: 139.9 kB / 286.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.1377, allocations: 422 kB / 286.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.1392, allocations: 1.495 MB / 288.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.1392, allocations: 7.375 kB / 288.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1392, allocations: 0.8438 kB / 288.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.1393, allocations: 0 / 288.4 MB, free: 15.55 MB / 282.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.00157/0.1408, allocations: 2.004 MB / 290.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.1409, allocations: 10.69 kB / 290.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.1439, allocations: 2.774 MB / 293.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.1443, allocations: 329 kB / 293.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.1444, allocations: 85.56 kB / 293.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.1444, allocations: 104.9 kB / 293.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009023/0.1453, allocations: 1.165 MB / 294.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1453, allocations: 192 / 294.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.1454, allocations: 43.91 kB / 294.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.1454, allocations: 96.23 kB / 295 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.1459, allocations: 0.5884 MB / 295.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.1484, allocations: 3.386 MB / 299 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.1489, allocations: 0.5733 MB / 299.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.149, allocations: 244.7 kB / 299.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.1507, allocations: 1.982 MB / 301.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1507, allocations: 45.84 kB / 301.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=253): time 1.904e-06/0.1507, allocations: 0 / 301.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=253): time 0.001175/0.1519, allocations: 1.112 MB / 302.9 MB, free: 9.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.152, allocations: 246 kB / 303.1 MB, free: 8.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1521, allocations: 183.2 kB / 303.3 MB, free: 8.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1521, allocations: 33.64 kB / 303.4 MB, free: 8.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1522, allocations: 437.8 kB / 303.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.1526, allocations: 0.8257 MB / 304.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1527, allocations: 187.1 kB / 304.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.1528, allocations: 315.3 kB / 305.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1529, allocations: 129.7 kB / 305.2 MB, free: 6.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.1531, allocations: 397 kB / 305.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.1536, allocations: 0.6855 MB / 306.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1536, allocations: 8 kB / 306.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0005965/0.1542, allocations: 0.7131 MB / 307 MB, free: 4.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1542, allocations: 9.719 kB / 307 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1542, allocations: 8 kB / 307 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1542, allocations: 12 kB / 307.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1544, allocations: 87.83 kB / 307.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1544, allocations: 11.94 kB / 307.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.1546, allocations: 126.8 kB / 307.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1546, allocations: 19.98 kB / 307.3 MB, free: 4.664 MB / 282.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.0001531/0.1548, allocations: 160.3 kB / 307.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1549, allocations: 43.89 kB / 307.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.1549, allocations: 42.42 kB / 307.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.1549, allocations: 23.97 kB / 307.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.155, allocations: 0 / 307.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.155, allocations: 4 kB / 307.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008796/0.1558, allocations: 0.5004 MB / 308.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1558, allocations: 0 / 308.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.1559, allocations: 39.92 kB / 308.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.156, allocations: 118.8 kB / 308.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.156, allocations: 8 kB / 308.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.156, allocations: 15.19 kB / 308.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.156, allocations: 0 / 308.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.156, allocations: 4 kB / 308.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.1567, allocations: 1.41 MB / 309.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1568, allocations: 8 kB / 309.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.157, allocations: 8 kB / 309.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.1571, allocations: 39.81 kB / 309.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1571, allocations: 12 kB / 309.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.043e-05/0.1571, allocations: 43.31 kB / 309.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1571, allocations: 0 / 309.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006373/0.1578, allocations: 407 kB / 310.2 MB, free: 1.836 MB / 282.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.0004459/0.1582, allocations: 279.7 kB / 310.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.159, allocations: 1.37 MB / 311.8 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/0.159, allocations: 4 kB / 311.8 MB, free: 152 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.1598, allocations: 1.728 MB / 313.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.1614, allocations: 0.7262 MB / 314.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.1741, allocations: 2.506 MB / 316.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1744, allocations: 375.3 kB / 317.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006536/0.1751, allocations: 410.4 kB / 317.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/0.1758, allocations: 0.4951 MB / 318 MB, free: 9.512 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1758, allocations: 0 / 318 MB, free: 9.512 MB / 298.7 MB Notification: Performance of Templates: time 0.03344/0.2092, allocations: 32.03 MB / 350.1 MB, free: 9.973 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.3354936949908733]