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.0009648/0.0009648, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.0009929/0.0009929, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.036/1.036, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.008623/0.008623, allocations: 1.993 MB / 262.2 MB, free: 10.92 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.834e-06/1.834e-06, allocations: 0 / 332.8 MB, free: 16.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.568e-05, allocations: 2.312 kB / 332.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.01054/0.01056, allocations: 15.13 MB / 347.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.02277, allocations: 13.49 MB / 361.4 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.02334, allocations: 7.938 kB / 361.4 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008011/0.02414, allocations: 337.5 kB / 361.7 MB, free: 3.621 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.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.004089/0.02823, allocations: 1.877 MB / 363.6 MB, free: 1.73 MB / 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.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.002474/0.0307, allocations: 0.9904 MB / 364.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.03246, allocations: 1.831 MB / 366.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.03259, allocations: 51.5 kB / 366.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005289/0.03788, allocations: 0.8884 MB / 367.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.03839, allocations: 490.6 kB / 367.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.962e-05/0.03847, allocations: 79.94 kB / 367.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.04059, allocations: 0.7612 MB / 368.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.04076, allocations: 218.8 kB / 368.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.04119, allocations: 466.9 kB / 369.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.04325, allocations: 1.463 MB / 370.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.04326, allocations: 3.938 kB / 370.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.04326, allocations: 0 / 370.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.04327, allocations: 0 / 370.8 MB, free: 10.5 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: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.001735/0.045, allocations: 1.696 MB / 372.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.04504, allocations: 16.03 kB / 372.5 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005138/0.05018, allocations: 3.023 MB / 375.5 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.05072, allocations: 442.9 kB / 376 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.05079, allocations: 82.52 kB / 376.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.05089, allocations: 104.4 kB / 376.2 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.05225, allocations: 1.135 MB / 377.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.05227, allocations: 4.172 kB / 377.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.05234, allocations: 52.12 kB / 377.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-05/0.0524, allocations: 91.94 kB / 377.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.05316, allocations: 0.541 MB / 378 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/0.05747, allocations: 5.046 MB / 383 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.05802, allocations: 360 kB / 383.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.05828, allocations: 235.3 kB / 383.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/0.05985, allocations: 1.663 MB / 385.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.05989, allocations: 45.33 kB / 385.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=193): time 2.054e-06/0.05989, allocations: 0 / 385.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=193): time 0.001502/0.06139, allocations: 1 MB / 386.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.06143, allocations: 85.05 kB / 386.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.06161, allocations: 279.7 kB / 386.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.06164, allocations: 29.7 kB / 386.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.06188, allocations: 0.4966 MB / 387.2 MB, free: 9.715 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/0.06226, allocations: 0.627 MB / 387.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.06249, allocations: 199.6 kB / 388 MB, free: 8.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.06262, allocations: 492.3 kB / 388.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.06279, allocations: 118.4 kB / 388.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.06317, allocations: 480 kB / 389.1 MB, free: 7.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.06387, allocations: 0.7395 MB / 389.8 MB, free: 6.805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.06388, allocations: 0 / 389.8 MB, free: 6.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.0009193/0.0648, allocations: 0.7697 MB / 390.6 MB, free: 6.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.06482, allocations: 8 kB / 390.6 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.06483, allocations: 8.906 kB / 390.6 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.06485, allocations: 8 kB / 390.6 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.06506, allocations: 83.91 kB / 390.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.06508, allocations: 19.92 kB / 390.7 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.06537, allocations: 110.9 kB / 390.8 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.06541, allocations: 28 kB / 390.9 MB, free: 5.766 MB / 314.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.0005846/0.066, allocations: 208.3 kB / 391.1 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.06612, allocations: 67.53 kB / 391.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.0662, allocations: 48.97 kB / 391.2 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.06621, allocations: 4 kB / 391.2 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.06621, allocations: 4 kB / 391.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.06622, allocations: 3.984 kB / 391.2 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.06697, allocations: 0.5947 MB / 391.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.06697, allocations: 3.938 kB / 391.8 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.493e-05/0.06707, allocations: 31.98 kB / 391.8 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.06707, allocations: 0 / 391.8 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.0671, allocations: 16 kB / 391.8 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.0671, allocations: 0 / 391.8 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.0671, allocations: 0 / 391.8 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.06793, allocations: 0.9241 MB / 392.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.06801, allocations: 95.09 kB / 392.8 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.06804, allocations: 4 kB / 392.8 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.06825, allocations: 11.98 kB / 392.9 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.06832, allocations: 35.95 kB / 392.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.06835, allocations: 16 kB / 392.9 MB, free: 3.648 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.041e-05/0.06843, allocations: 163.3 kB / 393.1 MB, free: 3.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06843, allocations: 0 / 393.1 MB, free: 3.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007801/0.06921, allocations: 371.1 kB / 393.4 MB, free: 3.125 MB / 314.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.0003811/0.06959, allocations: 198.9 kB / 393.6 MB, free: 2.941 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.07077, allocations: 1.457 MB / 395.1 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.07077, allocations: 0 / 395.1 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.07193, allocations: 1.92 MB / 397 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.07367, allocations: 0.5529 MB / 397.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.07635, allocations: 2.191 MB / 399.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.0767, allocations: 346.9 kB / 400.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007469/0.07745, allocations: 367.1 kB / 400.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008262/0.07827, allocations: 0.5057 MB / 401 MB, free: 10.96 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.07827, allocations: 0 / 401 MB, free: 10.96 MB / 330.7 MB Notification: Performance of Templates: time 0.1458/0.2241, allocations: 27.56 MB / 428.5 MB, free: 76.29 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.6067521502263844]