Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 104 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 191.5 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3348/0.3348, allocations: 48.85 MB / 320.6 MB, free: 11.07 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002903/0.002903, allocations: 69.08 kB / 390.7 MB, free: 48.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1472, allocations: 59.16 MB / 449.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.04033/0.1875, allocations: 32.47 MB / 482.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.1991, allocations: 8.109 MB / 490.5 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.1997, allocations: 7.938 kB / 490.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.2004, allocations: 143 kB / 490.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000711/0.2012, allocations: 202.5 kB / 490.8 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.2156, allocations: 4.395 MB / 495.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.2167, allocations: 0.5795 MB / 495.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005882/0.2173, allocations: 235.2 kB / 496 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.2178, allocations: 211.2 kB / 496.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.2182, allocations: 226.9 kB / 496.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.2183, allocations: 24 kB / 496.5 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.2303, allocations: 5.869 MB / 0.4906 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2305, allocations: 71.7 kB / 0.4907 GB, free: 5.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.2309, allocations: 195 kB / 0.4908 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008891/0.2398, allocations: 3.501 MB / 0.4943 GB, free: 1.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2398, allocations: 0 / 0.4943 GB, free: 1.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2398, allocations: 4 kB / 0.4943 GB, free: 1.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.2399, allocations: 0 / 0.4943 GB, free: 1.348 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003305/0.2432, allocations: 1.052 MB / 0.4953 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.2432, allocations: 19.89 kB / 0.4953 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.2435, allocations: 48.45 kB / 0.4954 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.2439, allocations: 299.3 kB / 0.4956 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.244, allocations: 16.94 kB / 0.4957 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.2441, allocations: 28.38 kB / 0.4957 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.2448, allocations: 333.2 kB / 0.496 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2448, allocations: 0 / 0.496 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.2448, allocations: 11.94 kB / 0.496 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2448, allocations: 8 kB / 0.496 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.2455, allocations: 238 kB / 0.4962 GB, free: 15.21 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.2472, allocations: 1.333 MB / 0.4976 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.2478, allocations: 238.1 kB / 0.4978 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.2481, allocations: 120.8 kB / 0.4979 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2919/0.54, allocations: 31.97 MB / 0.5291 GB, free: 82.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5401, allocations: 34.38 kB / 0.5291 GB, free: 82.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.905e-06/0.5401, allocations: 0 / 0.5291 GB, free: 82.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002794/0.5429, allocations: 1.033 MB / 0.5302 GB, free: 81.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.543, allocations: 58.09 kB / 0.5302 GB, free: 81.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.5433, allocations: 306.6 kB / 0.5305 GB, free: 81.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.5434, allocations: 33.67 kB / 0.5305 GB, free: 81.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5435, allocations: 183.9 kB / 0.5307 GB, free: 81.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.5436, allocations: 101.2 kB / 0.5308 GB, free: 81.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.5437, allocations: 51.56 kB / 0.5309 GB, free: 81.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5438, allocations: 346.1 kB / 0.5312 GB, free: 81.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.5441, allocations: 108.1 kB / 0.5313 GB, free: 81.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.5443, allocations: 132.3 kB / 0.5314 GB, free: 81.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.5448, allocations: 243.2 kB / 0.5316 GB, free: 81.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5448, allocations: 3.719 kB / 0.5316 GB, free: 81.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001277/0.5461, allocations: 494.8 kB / 0.5321 GB, free: 81.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5461, allocations: 6.359 kB / 0.5321 GB, free: 81.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.5462, allocations: 1.188 kB / 0.5321 GB, free: 81.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.5474, allocations: 258.2 kB / 0.5324 GB, free: 81.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.5476, allocations: 32.61 kB / 0.5324 GB, free: 81.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009234/0.5485, allocations: 0.8063 MB / 0.5332 GB, free: 80.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.5487, allocations: 16.27 kB / 0.5332 GB, free: 80.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.5487, allocations: 6.875 kB / 0.5332 GB, free: 80.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003097/0.5491, allocations: 213 kB / 0.5334 GB, free: 80.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002326/0.5493, allocations: 128.5 kB / 0.5335 GB, free: 80.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004683/0.5498, allocations: 249.2 kB / 0.5338 GB, free: 80.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.5498, allocations: 0 / 0.5338 GB, free: 80.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001233/0.551, allocations: 472.1 kB / 0.5342 GB, free: 80.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.551, allocations: 6.562 kB / 0.5342 GB, free: 80.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.551, allocations: 1.562 kB / 0.5342 GB, free: 80.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.5521, allocations: 245.8 kB / 0.5345 GB, free: 80.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.5523, allocations: 39.41 kB / 0.5345 GB, free: 80.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007593/0.553, allocations: 0.785 MB / 0.5353 GB, free: 79.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.5532, allocations: 16.34 kB / 0.5353 GB, free: 79.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.5533, allocations: 12.36 kB / 0.5353 GB, free: 79.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(6,11)} Notification: Performance of prepare postOptimizeDAE: time 9.688e-05/0.5534, allocations: 194.8 kB / 0.5355 GB, free: 79.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.5534, allocations: 33.44 kB / 0.5355 GB, free: 79.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.5545, allocations: 0.5512 MB / 0.5361 GB, free: 79.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5545, allocations: 4.469 kB / 0.5361 GB, free: 79.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5545, allocations: 1.719 kB / 0.5361 GB, free: 79.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5545, allocations: 1.641 kB / 0.5361 GB, free: 79.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.556, allocations: 1.04 MB / 0.5371 GB, free: 78.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.556, allocations: 2.391 kB / 0.5371 GB, free: 78.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.5564, allocations: 73.42 kB / 0.5372 GB, free: 78.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.5567, allocations: 63.05 kB / 0.5372 GB, free: 78.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.5567, allocations: 7.344 kB / 0.5372 GB, free: 78.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000925/0.5576, allocations: 1.428 MB / 0.5386 GB, free: 77.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5577, allocations: 5.062 kB / 0.5386 GB, free: 77.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.5589, allocations: 0.6829 MB / 0.5393 GB, free: 76.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.559, allocations: 142.2 kB / 0.5394 GB, free: 76.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.559, allocations: 9.672 kB / 0.5394 GB, free: 76.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.5593, allocations: 11.48 kB / 0.5394 GB, free: 76.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.5594, allocations: 31.78 kB / 0.5395 GB, free: 76.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.5594, allocations: 5.75 kB / 0.5395 GB, free: 76.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.5596, allocations: 223.2 kB / 0.5397 GB, free: 76.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5596, allocations: 0 / 0.5397 GB, free: 76.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002834/0.5625, allocations: 0.8681 MB / 0.5405 GB, free: 76.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.Mg,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 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.003323/0.5658, allocations: 0.949 MB / 0.5415 GB, free: 76.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.5677, allocations: 0.6076 MB / 0.5421 GB, free: 76.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5678, allocations: 1.125 kB / 0.5421 GB, free: 76.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005309/0.5683, allocations: 322.7 kB / 0.5424 GB, free: 75.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.5693, allocations: 156.3 kB / 0.5425 GB, free: 75.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.571, allocations: 1.02 MB / 0.5435 GB, free: 75.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.5713, allocations: 0.8005 MB / 0.5443 GB, free: 74.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.5714, allocations: 33.44 kB / 0.5443 GB, free: 74.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5714, allocations: 0 / 0.5443 GB, free: 74.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02877/0.6002, allocations: 19.77 MB / 0.5636 GB, free: 61.68 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)