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.001015/0.001015, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001115/0.001115, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.008086/0.008086, allocations: 2.002 MB / 263 MB, free: 10.89 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.332e-06/1.332e-06, allocations: 0 / 333.5 MB, free: 16.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.486e-05, allocations: 2.312 kB / 333.6 MB, free: 16.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.005439/0.005454, allocations: 8.461 MB / 342 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.009898, allocations: 9.386 MB / 351.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.009981, allocations: 0 / 351.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.01037, allocations: 131.1 kB / 351.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.01064, allocations: 107.2 kB / 351.6 MB, free: 14.5 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.003541/0.01418, allocations: 1.498 MB / 353.1 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.01449, allocations: 270.6 kB / 353.4 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.01453, allocations: 9.797 kB / 353.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.01789, allocations: 172 kB / 353.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.01802, allocations: 71.8 kB / 353.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.01804, allocations: 8 kB / 353.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007811/0.01882, allocations: 471.7 kB / 354.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.01888, allocations: 27.92 kB / 354.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.01894, allocations: 63.83 kB / 354.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006094/0.01955, allocations: 490.5 kB / 354.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01956, allocations: 4 kB / 354.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01956, allocations: 0 / 354.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.01956, allocations: 0 / 354.7 MB, free: 11.45 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.0005955/0.02016, allocations: 0.5772 MB / 355.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.02019, allocations: 12.03 kB / 355.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.02042, allocations: 92.45 kB / 355.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.02058, allocations: 148.4 kB / 355.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.02059, allocations: 8.375 kB / 355.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.02062, allocations: 12.38 kB / 355.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.02088, allocations: 244.7 kB / 355.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.02089, allocations: 192 / 355.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.0209, allocations: 12.12 kB / 355.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.02091, allocations: 7.984 kB / 355.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.02105, allocations: 104.6 kB / 355.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.02154, allocations: 0.6644 MB / 356.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.0218, allocations: 151 kB / 356.7 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.02202, allocations: 51.66 kB / 356.8 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.02212, allocations: 99.92 kB / 356.8 MB, free: 9.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.02214, allocations: 41.39 kB / 356.9 MB, free: 9.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 1.263e-06/0.02214, allocations: 0 / 356.9 MB, free: 9.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.001199/0.02334, allocations: 0.8374 MB / 357.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.02336, allocations: 55.41 kB / 357.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.02344, allocations: 193.7 kB / 358 MB, free: 7.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.02346, allocations: 33.7 kB / 358 MB, free: 7.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.02352, allocations: 147.8 kB / 358.1 MB, free: 7.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.02362, allocations: 170.5 kB / 358.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.02371, allocations: 67.31 kB / 358.4 MB, free: 7.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.02385, allocations: 0.504 MB / 358.9 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.02391, allocations: 44.47 kB / 358.9 MB, free: 6.949 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.02399, allocations: 125 kB / 359 MB, free: 6.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.02414, allocations: 193.9 kB / 359.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.02414, allocations: 0 / 359.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004574/0.0246, allocations: 345.8 kB / 359.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.02461, allocations: 7.984 kB / 359.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.02462, allocations: 4 kB / 359.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.02496, allocations: 147.6 kB / 359.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.02502, allocations: 27.92 kB / 359.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004253/0.02545, allocations: 0.8902 MB / 360.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.02552, allocations: 8 kB / 360.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.02553, allocations: 8 kB / 360.7 MB, free: 5.109 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 8.834e-05/0.02562, allocations: 176.5 kB / 360.8 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.02565, allocations: 19.86 kB / 360.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.02569, allocations: 30.27 kB / 360.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.02569, allocations: 8 kB / 360.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.0257, allocations: 3.984 kB / 360.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.0257, allocations: 0 / 360.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.02586, allocations: 181.8 kB / 361.1 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.02586, allocations: 4 kB / 361.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.02598, allocations: 51.91 kB / 361.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.02617, allocations: 67.59 kB / 361.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.02618, allocations: 4 kB / 361.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.02769, allocations: 3.653 MB / 364.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02769, allocations: 0 / 364.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.02809, allocations: 0.5187 MB / 365.4 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.02811, allocations: 19.89 kB / 365.4 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.02812, allocations: 4.031 kB / 365.4 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.02819, allocations: 8 kB / 365.4 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.02824, allocations: 27.89 kB / 365.4 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.02825, allocations: 8 kB / 365.4 MB, free: 24 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.0283, allocations: 131.2 kB / 365.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0283, allocations: 0 / 365.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.02852, allocations: 67.94 kB / 365.6 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.0002487/0.02877, allocations: 192.6 kB / 365.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.02909, allocations: 220.6 kB / 366 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.02909, allocations: 0 / 366 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.02933, allocations: 282.9 kB / 366.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.02969, allocations: 95.84 kB / 366.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.0305, allocations: 0.5622 MB / 367 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.03055, allocations: 89.17 kB / 367.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.03069, allocations: 117.1 kB / 367.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.03084, allocations: 146.1 kB / 367.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03084, allocations: 0 / 367.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of Templates: time 0.007236/0.03808, allocations: 6.551 MB / 373.9 MB, free: 7.656 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: 3.0093790092505515]