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.001095/0.001095, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002697, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001134/0.001134, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002627, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9185/0.9185, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07764/0.9962, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.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.01915/0.01915, allocations: 1.988 MB / 246 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006557/0.02571, allocations: 1.223 MB / 247.2 MB, free: 11.64 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.663e-06/1.663e-06, allocations: 0 / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.367e-05, allocations: 9.625 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.008448/0.008472, allocations: 8.564 MB / 257 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.01535, allocations: 9.443 MB / 266.5 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.01549, allocations: 4 kB / 266.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.01593, allocations: 139 kB / 266.6 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.01648, allocations: 99.22 kB / 266.7 MB, free: 8.051 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.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.003811/0.02029, allocations: 1.502 MB / 268.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000416/0.0207, allocations: 278.6 kB / 268.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.02076, allocations: 22.38 kB / 268.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/0.02477, allocations: 165.7 kB / 268.6 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.02492, allocations: 75.78 kB / 268.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.02494, allocations: 8 kB / 268.7 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.02621, allocations: 475.7 kB / 269.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.02627, allocations: 27.86 kB / 269.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.02634, allocations: 47.88 kB / 269.3 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009202/0.02726, allocations: 462.7 kB / 269.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.02728, allocations: 4 kB / 269.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02728, allocations: 0 / 269.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.0273, allocations: 4 kB / 269.7 MB, free: 5.008 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007789/0.02808, allocations: 0.5938 MB / 270.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.02811, allocations: 8.031 kB / 270.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/0.02846, allocations: 88.62 kB / 270.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.02864, allocations: 141.5 kB / 270.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.02866, allocations: 12.38 kB / 270.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.02869, allocations: 12.38 kB / 270.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.02906, allocations: 240.1 kB / 270.8 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.02907, allocations: 4.125 kB / 270.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.02909, allocations: 4.125 kB / 270.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.0291, allocations: 15.97 kB / 270.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.02932, allocations: 100.2 kB / 270.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.0299, allocations: 494.8 kB / 271.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.03027, allocations: 178.4 kB / 271.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.03035, allocations: 52.78 kB / 271.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.03049, allocations: 91.94 kB / 271.7 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.03051, allocations: 38.55 kB / 271.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.744e-06/0.03051, allocations: 0 / 271.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001792/0.03231, allocations: 0.8262 MB / 272.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.03233, allocations: 51.41 kB / 272.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.03241, allocations: 130.7 kB / 272.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.03243, allocations: 33.7 kB / 272.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.03248, allocations: 100.9 kB / 272.9 MB, free: 1.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-05/0.03258, allocations: 162.5 kB / 273.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.03265, allocations: 69.59 kB / 273.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.03274, allocations: 330.8 kB / 273.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.03281, allocations: 39.33 kB / 273.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.03291, allocations: 108 kB / 273.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.03335, allocations: 182.6 kB / 273.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.03335, allocations: 0 / 273.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000549/0.0339, allocations: 295.8 kB / 274.1 MB, free: 388 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.03391, allocations: 7.125 kB / 274.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.03392, allocations: 0 / 274.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/0.03436, allocations: 144.8 kB / 274.2 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.03446, allocations: 27.98 kB / 274.2 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1078/0.1422, allocations: 0.5935 MB / 274.8 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1424, allocations: 13.53 kB / 274.9 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1424, allocations: 8.312 kB / 274.9 MB, free: 21.31 MB / 266.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 {(3,8)} Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.1425, allocations: 123.3 kB / 275 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.1425, allocations: 15.58 kB / 275 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.1425, allocations: 27.06 kB / 275 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.1425, allocations: 7.609 kB / 275 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1425, allocations: 6.047 kB / 275 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.1426, allocations: 2.672 kB / 275 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1427, allocations: 140.3 kB / 275.2 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1427, allocations: 0 / 275.2 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.1429, allocations: 50.09 kB / 275.2 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.1429, allocations: 23.25 kB / 275.2 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.1432, allocations: 87.62 kB / 275.3 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1432, allocations: 6.703 kB / 275.3 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004539/0.1436, allocations: 1.718 MB / 277.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1436, allocations: 0.5312 kB / 277.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.144, allocations: 429.7 kB / 277.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.144, allocations: 6.031 kB / 277.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.1441, allocations: 9.625 kB / 277.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.1442, allocations: 24.53 kB / 277.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.1442, allocations: 5.484 kB / 277.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.003e-05/0.1442, allocations: 23.3 kB / 277.5 MB, free: 19.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1442, allocations: 1.438 kB / 277.5 MB, free: 19.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.1444, allocations: 58.09 kB / 277.6 MB, free: 19.21 MB / 266.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003022/0.1447, allocations: 177.4 kB / 277.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.145, allocations: 197.5 kB / 278 MB, free: 19.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.145, allocations: 4.062 kB / 278 MB, free: 19.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1452, allocations: 114.7 kB / 278.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1455, allocations: 125.9 kB / 278.2 MB, free: 19.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.1484, allocations: 0.5207 MB / 278.7 MB, free: 18.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.1484, allocations: 88.28 kB / 278.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.1486, allocations: 103.1 kB / 278.9 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1487, allocations: 115.8 kB / 279 MB, free: 18.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1487, allocations: 0 / 279 MB, free: 18.77 MB / 266.7 MB Notification: Performance of Templates: time 0.007674/0.1564, allocations: 6.464 MB / 285.5 MB, free: 17.58 MB / 266.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.6008508848026395]