Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.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.0008665/0.0008665, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0008805/0.0008805, allocations: 173 kB / 23.36 MB, free: 1.133 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.928/0.928, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.007829/0.007829, allocations: 1.995 MB / 262.2 MB, free: 10.95 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 279.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.187e-05, allocations: 5.688 kB / 279.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.1121/0.1121, allocations: 15.16 MB / 294.7 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1225, allocations: 13.65 MB / 308.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.123, allocations: 9.438 kB / 308.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.1237, allocations: 337.8 kB / 308.7 MB, free: 10.3 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.TestBasePropertiesExplicit.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.Medium.setState_ph'. Notification: Performance of NFTyping.typeBindings: time 0.003413/0.1272, allocations: 1.899 MB / 310.6 MB, free: 8.992 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.TestBasePropertiesExplicit.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.1294, allocations: 0.9869 MB / 311.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.1307, allocations: 1.825 MB / 313.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1309, allocations: 70.98 kB / 313.4 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004679/0.1356, allocations: 0.9043 MB / 314.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.1361, allocations: 478.7 kB / 314.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.879e-05/0.1362, allocations: 78.16 kB / 314.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.1381, allocations: 0.764 MB / 315.6 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1382, allocations: 215 kB / 315.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.1386, allocations: 475.5 kB / 316.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.1403, allocations: 1.467 MB / 317.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1403, allocations: 3.984 kB / 317.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1403, allocations: 0 / 317.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.1403, allocations: 0 / 317.8 MB, free: 4.082 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: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.001062/0.1414, allocations: 1.527 MB / 319.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1414, allocations: 16.03 kB / 319.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.1445, allocations: 3.066 MB / 322.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.145, allocations: 311.4 kB / 322.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.145, allocations: 82.52 kB / 322.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.1451, allocations: 104.4 kB / 322.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.1461, allocations: 1.129 MB / 324 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1461, allocations: 4.125 kB / 324 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.1462, allocations: 44.38 kB / 324.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.1462, allocations: 95.88 kB / 324.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.1468, allocations: 0.5583 MB / 324.7 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.1497, allocations: 3.655 MB / 328.4 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.1501, allocations: 290 kB / 328.7 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1503, allocations: 193.6 kB / 328.8 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.1513, allocations: 1.251 MB / 330.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1514, allocations: 38.56 kB / 330.1 MB, free: 7.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=193): time 3.126e-06/0.1514, allocations: 0 / 330.1 MB, free: 7.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=193): time 0.0009179/0.1523, allocations: 0.8465 MB / 331 MB, free: 6.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1523, allocations: 81.11 kB / 331.1 MB, free: 6.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1524, allocations: 212.6 kB / 331.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1525, allocations: 33.7 kB / 331.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1526, allocations: 465.7 kB / 331.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.1529, allocations: 0.6231 MB / 332.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.153, allocations: 165.9 kB / 332.5 MB, free: 4.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.1531, allocations: 321.9 kB / 332.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.1532, allocations: 86.48 kB / 332.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.1534, allocations: 360.3 kB / 333.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.1538, allocations: 0.6021 MB / 333.9 MB, free: 3.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1538, allocations: 4 kB / 333.9 MB, free: 3.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.0005204/0.1543, allocations: 0.5942 MB / 334.5 MB, free: 2.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1544, allocations: 8 kB / 334.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1544, allocations: 4.875 kB / 334.5 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1544, allocations: 12 kB / 334.5 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1545, allocations: 91.83 kB / 334.6 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.1545, allocations: 8 kB / 334.6 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.1547, allocations: 111 kB / 334.7 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.1548, allocations: 23.98 kB / 334.7 MB, free: 2.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 14 (medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 44 * 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.0001665/0.1549, allocations: 160.4 kB / 334.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.155, allocations: 27.97 kB / 334.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.155, allocations: 44.95 kB / 335 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.155, allocations: 4 kB / 335 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.155, allocations: 0 / 335 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.155, allocations: 4 kB / 335 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.1555, allocations: 0.506 MB / 335.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1555, allocations: 4 kB / 335.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.1556, allocations: 23.98 kB / 335.5 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1556, allocations: 0 / 335.5 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1556, allocations: 11.98 kB / 335.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1556, allocations: 0 / 335.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1556, allocations: 0 / 335.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.156, allocations: 0.6819 MB / 336.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1561, allocations: 83.16 kB / 336.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1561, allocations: 12 kB / 336.3 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1563, allocations: 15.08 kB / 336.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.1563, allocations: 23.95 kB / 336.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1563, allocations: 4 kB / 336.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.1564, allocations: 48.97 kB / 336.4 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1564, allocations: 0 / 336.4 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005092/0.1569, allocations: 375 kB / 336.8 MB, free: 0.5352 MB / 282.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: 12 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * 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.0003618/0.1572, allocations: 188.5 kB / 336.9 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008173/0.158, allocations: 1.385 MB / 338.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.1581, allocations: 8 kB / 338.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.1589, allocations: 1.881 MB / 340.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.1599, allocations: 0.5428 MB / 340.8 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1621, allocations: 2.206 MB / 343 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1624, allocations: 350.8 kB / 343.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006095/0.163, allocations: 375 kB / 343.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/0.1635, allocations: 447.1 kB / 344.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1635, allocations: 0 / 344.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of Templates: time 0.02923/0.1928, allocations: 27.46 MB / 371.6 MB, free: 13.61 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.182682623155415]