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.0008581/0.0008581, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009054/0.0009054, allocations: 177 kB / 23.36 MB, free: 1.129 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.8496/0.8496, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.007185/0.007185, allocations: 1.989 MB / 262.3 MB, free: 10.94 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.242e-06/1.242e-06, allocations: 0 / 279.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.209e-05, allocations: 2.312 kB / 279.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.005688/0.0057, allocations: 8.521 MB / 288 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1021/0.1078, allocations: 9.438 MB / 297.5 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1079, allocations: 5.094 kB / 297.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.1083, allocations: 126.5 kB / 297.6 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.1086, allocations: 111.1 kB / 297.7 MB, free: 17.25 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.002436/0.111, allocations: 1.507 MB / 299.2 MB, free: 16.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1113, allocations: 270.5 kB / 299.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1113, allocations: 9.922 kB / 299.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.1145, allocations: 171 kB / 299.7 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1146, allocations: 69.14 kB / 299.7 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1147, allocations: 11.22 kB / 299.7 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008208/0.1155, allocations: 468.8 kB / 300.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1155, allocations: 34.59 kB / 300.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.1156, allocations: 63.25 kB / 300.3 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.1162, allocations: 490.8 kB / 300.8 MB, free: 16.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1162, allocations: 1.062 kB / 300.8 MB, free: 16.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1162, allocations: 0 / 300.8 MB, free: 16.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1162, allocations: 0 / 300.8 MB, free: 16.13 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.000484/0.1167, allocations: 459 kB / 301.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.1167, allocations: 8.938 kB / 301.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.1169, allocations: 96.36 kB / 301.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1171, allocations: 145.6 kB / 301.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1171, allocations: 9.453 kB / 301.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1171, allocations: 13.34 kB / 301.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.1174, allocations: 243.6 kB / 301.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1174, allocations: 192 / 301.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1174, allocations: 5.859 kB / 301.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1174, allocations: 9.812 kB / 301.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1175, allocations: 94.88 kB / 301.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.1179, allocations: 497.7 kB / 302.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.1182, allocations: 175.4 kB / 302.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.1182, allocations: 52.14 kB / 302.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.1183, allocations: 103.2 kB / 302.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.1183, allocations: 32.69 kB / 302.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.162e-06/0.1183, allocations: 0.5625 kB / 302.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001161/0.1195, allocations: 0.811 MB / 303.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.405e-05/0.1195, allocations: 61.16 kB / 303.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.431e-05/0.1196, allocations: 132.7 kB / 303.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1196, allocations: 32.34 kB / 303.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.1196, allocations: 92.61 kB / 303.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.1196, allocations: 173.6 kB / 304 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.1197, allocations: 63.34 kB / 304 MB, free: 14.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.925e-05/0.1197, allocations: 331.4 kB / 304.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.1198, allocations: 46.09 kB / 304.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.1198, allocations: 95.05 kB / 304.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1199, allocations: 187.6 kB / 304.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1199, allocations: 1.375 kB / 304.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003578/0.1203, allocations: 293 kB / 305 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1203, allocations: 9.438 kB / 305 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1203, allocations: 1.375 kB / 305 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.1206, allocations: 135.2 kB / 305.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.1207, allocations: 31.42 kB / 305.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002362/0.1209, allocations: 0.6084 MB / 305.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.121, allocations: 9.656 kB / 305.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.121, allocations: 9.219 kB / 305.8 MB, free: 13.2 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 5.765e-05/0.121, allocations: 131.7 kB / 305.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1211, allocations: 12.34 kB / 305.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.1211, allocations: 23.69 kB / 305.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1211, allocations: 8.078 kB / 305.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1211, allocations: 2.031 kB / 305.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1211, allocations: 7.094 kB / 305.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1213, allocations: 142.1 kB / 306.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1213, allocations: 0 / 306.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.1214, allocations: 42.83 kB / 306.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.1216, allocations: 92.09 kB / 306.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1216, allocations: 8.406 kB / 306.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000385/0.122, allocations: 1.718 MB / 307.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.122, allocations: 1.438 kB / 307.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.1223, allocations: 429.7 kB / 308.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.1223, allocations: 18.14 kB / 308.4 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1223, allocations: 6.781 kB / 308.4 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.1224, allocations: 6.344 kB / 308.4 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.1224, allocations: 21.73 kB / 308.4 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1224, allocations: 6.906 kB / 308.4 MB, free: 11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.629e-05/0.1224, allocations: 22.34 kB / 308.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1224, allocations: 0 / 308.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.1226, allocations: 63.81 kB / 308.5 MB, free: 10.98 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.0002641/0.1229, allocations: 181.1 kB / 308.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1232, allocations: 189.2 kB / 308.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1232, allocations: 1.156 kB / 308.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1233, allocations: 118.6 kB / 309 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1236, allocations: 110.1 kB / 309.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.1245, allocations: 0.5409 MB / 309.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.1245, allocations: 88.36 kB / 309.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.1247, allocations: 115 kB / 309.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.1248, allocations: 120.2 kB / 309.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1248, allocations: 0 / 309.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of Templates: time 0.005985/0.1308, allocations: 6.2 MB / 316.1 MB, free: 5.449 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.543253812007606]