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.0009338/0.0009338, allocations: 81.17 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.001016/0.001016, allocations: 169 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 0.9921/0.9921, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.007655/0.007655, allocations: 1.996 MB / 262.2 MB, free: 10.91 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 1.984e-06/1.984e-06, allocations: 0 / 332.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.379e-05, allocations: 6.312 kB / 332.8 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.005818/0.005852, allocations: 8.459 MB / 341.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.01015, allocations: 9.386 MB / 350.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.01022, allocations: 0 / 350.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.01059, allocations: 127.2 kB / 350.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.01083, allocations: 107.2 kB / 350.8 MB, free: 14.52 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.001899/0.01273, allocations: 1.498 MB / 352.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.01297, allocations: 266.6 kB / 352.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.013, allocations: 9.812 kB / 352.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.01653, allocations: 177.3 kB / 352.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.01666, allocations: 71.78 kB / 352.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.01668, allocations: 8 kB / 352.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006401/0.01732, allocations: 467.6 kB / 353.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.01738, allocations: 27.91 kB / 353.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.01743, allocations: 59.84 kB / 353.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.01803, allocations: 490.6 kB / 353.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01803, allocations: 0 / 353.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01803, allocations: 0 / 353.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.01803, allocations: 3.938 kB / 353.9 MB, free: 11.48 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.0005791/0.01861, allocations: 0.585 MB / 354.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01865, allocations: 8.031 kB / 354.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.01888, allocations: 100.5 kB / 354.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.01903, allocations: 136.5 kB / 354.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.01904, allocations: 8.375 kB / 354.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.01907, allocations: 12.38 kB / 354.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.01936, allocations: 252.7 kB / 355 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.01936, allocations: 4.188 kB / 355 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.01938, allocations: 12.06 kB / 355 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.01939, allocations: 11.98 kB / 355 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.01953, allocations: 96.64 kB / 355.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.02005, allocations: 0.6682 MB / 355.8 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.02033, allocations: 147 kB / 355.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.02038, allocations: 59.66 kB / 356 MB, free: 9.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.02051, allocations: 103.8 kB / 356.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.02054, allocations: 37.39 kB / 356.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 1.222e-06/0.02054, allocations: 0 / 356.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.001256/0.02179, allocations: 0.8462 MB / 357 MB, free: 8.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.02182, allocations: 55.41 kB / 357 MB, free: 8.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.0219, allocations: 193.7 kB / 357.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.02191, allocations: 25.7 kB / 357.2 MB, free: 7.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.02197, allocations: 147.7 kB / 357.4 MB, free: 7.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.02205, allocations: 170.5 kB / 357.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.02212, allocations: 75.3 kB / 357.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.02225, allocations: 0.504 MB / 358.1 MB, free: 7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.0223, allocations: 44.48 kB / 358.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.02239, allocations: 125 kB / 358.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.02255, allocations: 190 kB / 358.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.02255, allocations: 0 / 358.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004644/0.02302, allocations: 349.7 kB / 358.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.02303, allocations: 4 kB / 358.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.02303, allocations: 4 kB / 358.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.02338, allocations: 151.7 kB / 359 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.02345, allocations: 27.92 kB / 359 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004454/0.0239, allocations: 0.8897 MB / 359.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.02396, allocations: 11.98 kB / 359.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.02397, allocations: 4 kB / 359.9 MB, free: 5.117 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 9.059e-05/0.02406, allocations: 176.5 kB / 360.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.02409, allocations: 23.86 kB / 360.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.02414, allocations: 22.28 kB / 360.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.02414, allocations: 15.98 kB / 360.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.02415, allocations: 0 / 360.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02415, allocations: 3.984 kB / 360.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.02432, allocations: 181.9 kB / 360.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.02432, allocations: 0 / 360.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.02445, allocations: 43.97 kB / 360.4 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.02464, allocations: 71.55 kB / 360.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.02465, allocations: 11.92 kB / 360.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.02608, allocations: 3.649 MB / 364.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02608, allocations: 0 / 364.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.02652, allocations: 0.5327 MB / 364.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.02653, allocations: 11.91 kB / 364.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.02654, allocations: 4 kB / 364.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.02662, allocations: 11.98 kB / 364.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.02667, allocations: 27.89 kB / 364.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.02668, allocations: 4 kB / 364.7 MB, free: 28 kB / 282.7 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.02675, allocations: 135.7 kB / 364.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02675, allocations: 0 / 364.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.02697, allocations: 67.94 kB / 364.9 MB, free: 15.83 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.0002529/0.02722, allocations: 184.1 kB / 365.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.02755, allocations: 221.1 kB / 365.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.02755, allocations: 0 / 365.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.02781, allocations: 283.2 kB / 365.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.02818, allocations: 107.8 kB / 365.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/0.02903, allocations: 0.5622 MB / 366.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.833e-05/0.02908, allocations: 89.17 kB / 366.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.02921, allocations: 105.3 kB / 366.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.02938, allocations: 146.1 kB / 366.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02938, allocations: 0 / 366.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of Templates: time 0.007833/0.03722, allocations: 6.442 MB / 373 MB, free: 7.75 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: 2.9923615120351315]