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.001324/0.001324, allocations: 92.22 kB / 19.65 MB, free: 276 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.001505/0.001505, allocations: 173 kB / 23.02 MB, free: 1.547 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.9523/0.9523, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.00844/0.00844, allocations: 1.989 MB / 261.9 MB, free: 11.05 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 / 332.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.027e-05, allocations: 10.19 kB / 332.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.02212/0.02215, allocations: 8.555 MB / 340.9 MB, free: 9.402 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.03519, allocations: 9.522 MB / 350.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.0354, allocations: 7.938 kB / 350.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.03606, allocations: 123.2 kB / 350.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.03654, allocations: 107.2 kB / 350.6 MB, free: 15.61 MB / 330.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.004825/0.04136, allocations: 1.502 MB / 352.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.04178, allocations: 270.6 kB / 352.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.04184, allocations: 5.812 kB / 352.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.04635, allocations: 168.7 kB / 352.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.04652, allocations: 75.78 kB / 352.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.04654, allocations: 8 kB / 352.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.04785, allocations: 467.6 kB / 353.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.04793, allocations: 39.84 kB / 353.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.04801, allocations: 63.83 kB / 353.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.04904, allocations: 478.7 kB / 353.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.04904, allocations: 3.984 kB / 353.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04904, allocations: 0 / 353.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.04905, allocations: 7.938 kB / 353.7 MB, free: 12.56 MB / 330.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.0007677/0.04982, allocations: 0.5731 MB / 354.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.04987, allocations: 12.03 kB / 354.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.05017, allocations: 96.5 kB / 354.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.05038, allocations: 148.5 kB / 354.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.0504, allocations: 8.375 kB / 354.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.05044, allocations: 16.33 kB / 354.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.05083, allocations: 256.7 kB / 354.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.05084, allocations: 192 / 354.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.05086, allocations: 12.12 kB / 354.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.05088, allocations: 11.98 kB / 354.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.05106, allocations: 104.8 kB / 354.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.05175, allocations: 0.7025 MB / 355.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.05212, allocations: 159 kB / 355.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.0522, allocations: 63.67 kB / 355.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.05234, allocations: 100.1 kB / 355.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.05237, allocations: 41.3 kB / 356 MB, free: 10.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.975e-06/0.05237, allocations: 0 / 356 MB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.001569/0.05394, allocations: 0.9087 MB / 356.9 MB, free: 9.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.05397, allocations: 51.41 kB / 356.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.05408, allocations: 185.8 kB / 357.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.0541, allocations: 33.69 kB / 357.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.05416, allocations: 143.8 kB / 357.3 MB, free: 8.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.765e-05/0.05425, allocations: 174.5 kB / 357.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.05432, allocations: 67.34 kB / 357.5 MB, free: 8.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.05446, allocations: 0.5079 MB / 358 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.05455, allocations: 56.47 kB / 358.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.05466, allocations: 137.1 kB / 358.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.05486, allocations: 226 kB / 358.4 MB, free: 7.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.05486, allocations: 0 / 358.4 MB, free: 7.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005111/0.05538, allocations: 365.9 kB / 358.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.0554, allocations: 12 kB / 358.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.05541, allocations: 0 / 358.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.05585, allocations: 151.5 kB / 359 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.05593, allocations: 27.92 kB / 359 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006126/0.05654, allocations: 0.8979 MB / 359.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.05663, allocations: 19.86 kB / 359.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.05665, allocations: 20 kB / 359.9 MB, free: 5.957 MB / 330.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.0001273/0.05678, allocations: 160.6 kB / 360.1 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.05683, allocations: 27.86 kB / 360.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.578e-05/0.05688, allocations: 26.28 kB / 360.1 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.05689, allocations: 3.984 kB / 360.1 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.0569, allocations: 4 kB / 360.1 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.0569, allocations: 0 / 360.1 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.0571, allocations: 201.5 kB / 360.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.0571, allocations: 0 / 360.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.05725, allocations: 51.91 kB / 360.4 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.05748, allocations: 71.59 kB / 360.5 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.05749, allocations: 4 kB / 360.5 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.05932, allocations: 3.687 MB / 364.1 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.05932, allocations: 0 / 364.1 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.05993, allocations: 0.5498 MB / 364.7 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.05995, allocations: 23.8 kB / 364.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.05997, allocations: 7.938 kB / 364.7 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.06005, allocations: 8 kB / 364.7 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.06014, allocations: 31.98 kB / 364.8 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.06015, allocations: 7.984 kB / 364.8 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.218e-05/0.06022, allocations: 135.2 kB / 364.9 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06022, allocations: 0 / 364.9 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.06051, allocations: 67.94 kB / 365 MB, free: 0.5664 MB / 330.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.0004637/0.06097, allocations: 192 kB / 365.2 MB, free: 400 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.06142, allocations: 240.4 kB / 365.4 MB, free: 156 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.06142, allocations: 0 / 365.4 MB, free: 156 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.06182, allocations: 306.1 kB / 365.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.06226, allocations: 99.83 kB / 365.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.0636, allocations: 0.5571 MB / 366.3 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.06366, allocations: 85.31 kB / 366.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.06385, allocations: 109.3 kB / 366.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.0639, allocations: 24.5 kB / 366.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0639, allocations: 0 / 366.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of Templates: time 0.009361/0.07326, allocations: 6.595 MB / 373.2 MB, free: 8.43 MB / 346.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.1150830881670117]