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.001309/0.001309, allocations: 80.88 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.0009513/0.0009513, allocations: 181 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.9748/0.9748, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.008351/0.008351, allocations: 1.996 MB / 262.2 MB, free: 10.93 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.553e-06/1.553e-06, allocations: 0 / 279.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.229e-05, allocations: 2.312 kB / 279.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.1139/0.1139, allocations: 15.21 MB / 294.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009445/0.1233, allocations: 13.65 MB / 308.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005748/0.1239, allocations: 5.281 kB / 308.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.1245, allocations: 342.9 kB / 308.7 MB, free: 10.21 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.003467/0.128, allocations: 1.881 MB / 310.6 MB, free: 8.902 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.002037/0.13, allocations: 0.9863 MB / 311.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.1316, allocations: 1.824 MB / 313.4 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.1317, allocations: 66.47 kB / 313.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004656/0.1364, allocations: 0.9014 MB / 314.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.1369, allocations: 481.4 kB / 314.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.137, allocations: 74.38 kB / 314.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.1391, allocations: 0.7847 MB / 315.7 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1392, allocations: 216.1 kB / 315.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.1395, allocations: 468.5 kB / 316.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.1414, allocations: 1.471 MB / 317.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1414, allocations: 0 / 317.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1414, allocations: 7.938 kB / 317.9 MB, free: 3.961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1414, allocations: 0 / 317.9 MB, free: 3.961 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.00112/0.1425, allocations: 1.535 MB / 319.4 MB, free: 2.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1425, allocations: 8.031 kB / 319.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003771/0.1463, allocations: 3.066 MB / 322.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.1468, allocations: 304.1 kB / 322.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.1469, allocations: 82.52 kB / 322.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.1469, allocations: 112.4 kB / 323 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.148, allocations: 1.133 MB / 324.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.148, allocations: 192 / 324.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.148, allocations: 44.38 kB / 324.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.1481, allocations: 99.86 kB / 324.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.1487, allocations: 0.5505 MB / 324.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.1518, allocations: 3.663 MB / 328.5 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.1522, allocations: 285.9 kB / 328.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.1524, allocations: 185.7 kB / 328.9 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.1535, allocations: 1.267 MB / 330.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1535, allocations: 34.5 kB / 330.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=193): time 2.184e-06/0.1535, allocations: 4 kB / 330.2 MB, free: 7.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=193): time 0.00106/0.1546, allocations: 0.8442 MB / 331.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1546, allocations: 81.11 kB / 331.1 MB, free: 6.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1547, allocations: 204.7 kB / 331.3 MB, free: 6.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1548, allocations: 25.7 kB / 331.4 MB, free: 6.141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.155, allocations: 473.7 kB / 331.8 MB, free: 5.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.1552, allocations: 0.627 MB / 332.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1554, allocations: 169.9 kB / 332.6 MB, free: 4.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.1554, allocations: 309.9 kB / 332.9 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1556, allocations: 94.47 kB / 333 MB, free: 4.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1558, allocations: 360.3 kB / 333.4 MB, free: 4.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.1562, allocations: 0.5944 MB / 334 MB, free: 3.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1562, allocations: 0 / 334 MB, free: 3.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.0005582/0.1568, allocations: 0.6065 MB / 334.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1568, allocations: 11.94 kB / 334.6 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1568, allocations: 8 kB / 334.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1568, allocations: 8 kB / 334.6 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.157, allocations: 83.91 kB / 334.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.157, allocations: 19.92 kB / 334.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1572, allocations: 109.2 kB / 334.8 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.1573, allocations: 20 kB / 334.8 MB, free: 2.465 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.0001823/0.1574, allocations: 164.6 kB / 335 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.1575, allocations: 31.97 kB / 335 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.1576, allocations: 40.97 kB / 335.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1576, allocations: 0 / 335.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1576, allocations: 7.984 kB / 335.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1576, allocations: 3.938 kB / 335.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.1581, allocations: 0.4986 MB / 335.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1581, allocations: 0 / 335.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.132e-05/0.1581, allocations: 31.98 kB / 335.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1581, allocations: 0 / 335.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1582, allocations: 12 kB / 335.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1582, allocations: 0 / 335.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1582, allocations: 2.938 kB / 335.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.1587, allocations: 0.6819 MB / 336.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.1587, allocations: 85.17 kB / 336.4 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1587, allocations: 4 kB / 336.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1589, allocations: 8 kB / 336.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.1589, allocations: 23.95 kB / 336.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.159, allocations: 11.98 kB / 336.4 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.331e-05/0.159, allocations: 52.95 kB / 336.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.159, allocations: 4 kB / 336.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005732/0.1596, allocations: 371 kB / 336.8 MB, free: 412 kB / 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.1599, allocations: 180.6 kB / 337 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008916/0.1608, allocations: 1.384 MB / 338.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.1608, allocations: 11.94 kB / 338.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000843/0.1617, allocations: 1.886 MB / 340.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.1629, allocations: 0.539 MB / 340.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.1652, allocations: 2.209 MB / 343.1 MB, free: 9.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1655, allocations: 350.8 kB / 343.4 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006753/0.1662, allocations: 370.3 kB / 343.8 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006504/0.1668, allocations: 443.1 kB / 344.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1668, allocations: 4 kB / 344.2 MB, free: 8.438 MB / 298.7 MB Notification: Performance of Templates: time 0.03138/0.1982, allocations: 27.48 MB / 371.7 MB, free: 13.48 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2328754030168056]