Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.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.001833/0.001833, allocations: 88.05 kB / 19.44 MB, free: 320 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.001875/0.001875, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.01459/0.01459, allocations: 1.996 MB / 261.6 MB, free: 11.09 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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 3.938 kB / 331.6 MB, free: 17.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.869e-05, allocations: 6.312 kB / 331.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.008022/0.008061, allocations: 8.498 MB / 340.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006725/0.01479, allocations: 9.526 MB / 349.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.01494, allocations: 3.938 kB / 349.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006587/0.0156, allocations: 135.2 kB / 349.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.01601, allocations: 103.2 kB / 349.9 MB, free: 14.97 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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setSat_p'. [/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.TestBasePropertiesDynamic.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setState_ph'. [/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.TestBasePropertiesDynamic.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setState_ph'. Notification: Performance of NFTyping.typeClassSections: time 0.004882/0.02089, allocations: 1.49 MB / 351.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.02139, allocations: 274.6 kB / 351.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.02144, allocations: 5.812 kB / 351.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005377/0.02682, allocations: 192.1 kB / 351.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.02706, allocations: 75.78 kB / 351.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.0271, allocations: 8 kB / 351.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.02909, allocations: 467.7 kB / 352.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.02919, allocations: 27.84 kB / 352.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.02932, allocations: 63.84 kB / 352.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.03062, allocations: 0.5103 MB / 352.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.03063, allocations: 0 / 352.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.03063, allocations: 0 / 352.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.03064, allocations: 0 / 352.9 MB, free: 11.88 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001098/0.03174, allocations: 0.5924 MB / 353.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.03178, allocations: 12.03 kB / 353.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.0322, allocations: 84.56 kB / 353.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.03246, allocations: 152.4 kB / 353.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.03248, allocations: 8.375 kB / 353.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.03252, allocations: 16.31 kB / 353.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.03307, allocations: 260.1 kB / 354.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.03309, allocations: 4.188 kB / 354.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.03312, allocations: 8.125 kB / 354.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.03313, allocations: 7.984 kB / 354.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.03356, allocations: 152.3 kB / 354.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.03464, allocations: 0.7115 MB / 354.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.03526, allocations: 171 kB / 355.1 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.03545, allocations: 79.66 kB / 355.2 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.03567, allocations: 103.9 kB / 355.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.03571, allocations: 37.39 kB / 355.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 1.163e-06/0.03571, allocations: 0 / 355.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.002779/0.03849, allocations: 1.002 MB / 356.3 MB, free: 8.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.03854, allocations: 55.41 kB / 356.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.03872, allocations: 189.9 kB / 356.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.03875, allocations: 29.7 kB / 356.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.03886, allocations: 155.7 kB / 356.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.03904, allocations: 178.5 kB / 356.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.03916, allocations: 71.36 kB / 357 MB, free: 7.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003235/0.03948, allocations: 0.5157 MB / 357.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.03967, allocations: 72.47 kB / 357.6 MB, free: 6.988 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.04001, allocations: 172.9 kB / 357.7 MB, free: 6.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.04057, allocations: 274 kB / 358 MB, free: 6.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.04058, allocations: 4 kB / 358 MB, free: 6.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001209/0.04179, allocations: 426.8 kB / 358.4 MB, free: 6.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.04181, allocations: 4 kB / 358.4 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.04183, allocations: 4 kB / 358.4 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008654/0.04269, allocations: 167.6 kB / 358.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.04283, allocations: 27.97 kB / 358.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.04392, allocations: 0.9483 MB / 359.6 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.04407, allocations: 15.92 kB / 359.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.04409, allocations: 8.047 kB / 359.6 MB, free: 4.863 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.04428, allocations: 176.6 kB / 359.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.04434, allocations: 23.91 kB / 359.8 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.04443, allocations: 18.28 kB / 359.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.04444, allocations: 15.98 kB / 359.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.04445, allocations: 0 / 359.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.04446, allocations: 0 / 359.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.04479, allocations: 213.2 kB / 360 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.04479, allocations: 0 / 360 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.04507, allocations: 51.91 kB / 360.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/0.0455, allocations: 83.55 kB / 360.2 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.04551, allocations: 0 / 360.2 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.04884, allocations: 3.753 MB / 363.9 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.04884, allocations: 0 / 363.9 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.04999, allocations: 0.6286 MB / 364.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.05003, allocations: 23.84 kB / 364.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.05006, allocations: 7.938 kB / 364.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.05021, allocations: 7.938 kB / 364.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.319e-05/0.0503, allocations: 23.95 kB / 364.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.05032, allocations: 11.98 kB / 364.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.05043, allocations: 143.1 kB / 364.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05043, allocations: 0 / 364.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.05082, allocations: 63.94 kB / 364.8 MB, free: 15.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005523/0.05137, allocations: 180.7 kB / 365 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000869/0.05224, allocations: 296 kB / 365.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.05224, allocations: 0 / 365.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.05289, allocations: 322.9 kB / 365.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/0.05359, allocations: 95.77 kB / 365.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.0548, allocations: 0.5851 MB / 366.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.05496, allocations: 129.4 kB / 366.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.0552, allocations: 113 kB / 366.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.05526, allocations: 24.5 kB / 366.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.05526, allocations: 0 / 366.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of Templates: time 0.01319/0.06845, allocations: 5.475 MB / 372 MB, free: 8.152 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.745087977964431]