Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.001429/0.001429, 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.001977/0.001977, 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 0.9835/0.9835, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.009197/0.009197, allocations: 1.991 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 332.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.426e-05, allocations: 2.312 kB / 332.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.02966/0.02968, allocations: 15.3 MB / 347.6 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.04045, allocations: 13.69 MB / 361.3 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.04111, allocations: 4 kB / 361.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.04181, allocations: 333.4 kB / 361.6 MB, free: 4.605 MB / 330.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.TestBasePropertiesImplicit.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.Medium.setState_ph'. Notification: Performance of NFTyping.typeBindings: time 0.004129/0.04594, allocations: 1.869 MB / 363.5 MB, free: 2.723 MB / 330.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.TestBasePropertiesImplicit.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.04841, allocations: 0.9943 MB / 364.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.05047, allocations: 1.832 MB / 366.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.05067, allocations: 55.48 kB / 366.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005752/0.05643, allocations: 0.8985 MB / 367.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000905/0.05733, allocations: 486.6 kB / 367.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.05751, allocations: 75.94 kB / 367.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.06092, allocations: 0.769 MB / 368.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.06126, allocations: 210.9 kB / 368.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007966/0.06206, allocations: 478.8 kB / 369.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.0658, allocations: 1.463 MB / 370.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.06581, allocations: 0 / 370.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.06581, allocations: 0 / 370.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.351e-05/0.06586, allocations: 0 / 370.7 MB, free: 11.47 MB / 346.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.002091/0.06795, allocations: 1.684 MB / 372.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.06799, allocations: 8.031 kB / 372.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/0.07194, allocations: 3.023 MB / 375.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.07265, allocations: 442.9 kB / 375.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.0727, allocations: 82.52 kB / 376 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.07278, allocations: 112.3 kB / 376.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.07415, allocations: 1.245 MB / 377.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.07417, allocations: 192 / 377.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.07422, allocations: 44.12 kB / 377.4 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.07428, allocations: 91.92 kB / 377.4 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.07516, allocations: 0.6972 MB / 378.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004122/0.07928, allocations: 5.145 MB / 383.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.08011, allocations: 432 kB / 383.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.08047, allocations: 299.2 kB / 384 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001934/0.0824, allocations: 1.577 MB / 385.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.08244, allocations: 37.39 kB / 385.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=194): time 2.325e-06/0.08244, allocations: 0 / 385.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=194): time 0.001481/0.08392, allocations: 1.129 MB / 386.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.08396, allocations: 81.11 kB / 386.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.08413, allocations: 267.2 kB / 387.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.08415, allocations: 29.7 kB / 387.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.08438, allocations: 0.4928 MB / 387.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.08472, allocations: 0.6309 MB / 388.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.08491, allocations: 191.7 kB / 388.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.08506, allocations: 496.4 kB / 388.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.08531, allocations: 150.4 kB / 389.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.08571, allocations: 0.4965 MB / 389.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/0.0865, allocations: 0.7791 MB / 390.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.0865, allocations: 4 kB / 390.3 MB, free: 7.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.0009299/0.08743, allocations: 0.8409 MB / 391.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.08745, allocations: 12.03 kB / 391.2 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.08747, allocations: 8 kB / 391.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/0.08748, allocations: 8 kB / 391.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.08772, allocations: 99.83 kB / 391.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008759/0.0886, allocations: 1.806 MB / 393.1 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.08889, allocations: 122.9 kB / 393.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.08892, allocations: 31.98 kB / 393.3 MB, free: 4.184 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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,medium2.baseProperties.phaseInput,medium1.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.08916, allocations: 208.5 kB / 393.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.08925, allocations: 63.58 kB / 393.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.08931, allocations: 48.95 kB / 393.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.08932, allocations: 4 kB / 393.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.08933, allocations: 0 / 393.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.08934, allocations: 0 / 393.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.09008, allocations: 0.7086 MB / 394.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.09009, allocations: 0 / 394.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.09022, allocations: 51.97 kB / 394.3 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.09022, allocations: 0 / 394.3 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.09025, allocations: 16 kB / 394.4 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005454/0.09079, allocations: 1.79 MB / 396.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.0908, allocations: 4 kB / 396.1 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.09161, allocations: 0.9946 MB / 397.1 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.09169, allocations: 87.16 kB / 397.2 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.09172, allocations: 12.06 kB / 397.2 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.09186, allocations: 12 kB / 397.2 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.09194, allocations: 35.94 kB / 397.3 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.09196, allocations: 16 kB / 397.3 MB, free: 16 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.09207, allocations: 165.1 kB / 397.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09207, allocations: 0 / 397.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008866/0.09296, allocations: 371.1 kB / 397.8 MB, free: 15.49 MB / 378.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 (28): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005449/0.09351, allocations: 200.9 kB / 398 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.09532, allocations: 1.545 MB / 399.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.09532, allocations: 4 kB / 399.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.09646, allocations: 1.97 MB / 401.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.09792, allocations: 0.5423 MB / 402.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.1009, allocations: 2.209 MB / 404.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1013, allocations: 351 kB / 404.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007168/0.102, allocations: 321.5 kB / 404.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1021, allocations: 104.5 kB / 405 MB, free: 7.625 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.1021, allocations: 0 / 405 MB, free: 7.625 MB / 378.7 MB Notification: Performance of Templates: time 0.03323/0.1353, allocations: 27.53 MB / 432.6 MB, free: 12.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.891686678864062]