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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 103.7 kB / 270.5 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.414/0.414, allocations: 48.83 MB / 366.7 MB, free: 46.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 436.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1028, allocations: 59.15 MB / 495.8 MB, free: 152 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2075/0.3104, allocations: 33.39 MB / 0.5167 GB, free: 42.41 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008587/0.319, allocations: 8.857 MB / 0.5254 GB, free: 36.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.3194, allocations: 9.469 kB / 0.5254 GB, free: 36.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.3198, allocations: 114.2 kB / 0.5255 GB, free: 36.83 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.3202, allocations: 189.7 kB / 0.5257 GB, free: 36.71 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009061/0.3293, allocations: 3.498 MB / 0.5291 GB, free: 35.17 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009484/0.3303, allocations: 0.7647 MB / 0.5299 GB, free: 34.87 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.3307, allocations: 195.7 kB / 0.53 GB, free: 34.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.3311, allocations: 201.7 kB / 0.5302 GB, free: 34.72 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.3315, allocations: 225.7 kB / 0.5304 GB, free: 34.62 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.3316, allocations: 18.34 kB / 0.5305 GB, free: 34.62 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.3432, allocations: 5.946 MB / 0.5363 GB, free: 33.15 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3434, allocations: 65.34 kB / 0.5363 GB, free: 33.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.3436, allocations: 179.2 kB / 0.5365 GB, free: 33.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008951/0.3526, allocations: 3.509 MB / 0.5399 GB, free: 31.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3527, allocations: 0 / 0.5399 GB, free: 31.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3527, allocations: 0 / 0.5399 GB, free: 31.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.3527, allocations: 0 / 0.5399 GB, free: 31.79 MB / 394.7 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.002826/0.3555, allocations: 1.046 MB / 0.541 GB, free: 31.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3556, allocations: 8.969 kB / 0.541 GB, free: 31.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.3558, allocations: 59.42 kB / 0.541 GB, free: 30.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3561, allocations: 297.6 kB / 0.5413 GB, free: 30.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3561, allocations: 19.88 kB / 0.5413 GB, free: 30.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.3562, allocations: 32.88 kB / 0.5414 GB, free: 30.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000537/0.3567, allocations: 324.2 kB / 0.5417 GB, free: 30.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3567, allocations: 0 / 0.5417 GB, free: 30.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3568, allocations: 11.25 kB / 0.5417 GB, free: 30.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3568, allocations: 5.75 kB / 0.5417 GB, free: 30.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.3574, allocations: 244.6 kB / 0.5419 GB, free: 30.33 MB / 394.7 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.001293/0.3587, allocations: 1.323 MB / 0.5432 GB, free: 29.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.3592, allocations: 228 kB / 0.5434 GB, free: 28.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.3595, allocations: 120.2 kB / 0.5435 GB, free: 28.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06051/0.42, allocations: 31.98 MB / 0.5748 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4201, allocations: 30.56 kB / 0.5748 GB, free: 2.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 2.725e-06/0.4201, allocations: 4 kB / 0.5748 GB, free: 2.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.002651/0.4227, allocations: 1.039 MB / 0.5758 GB, free: 1.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.4228, allocations: 55.41 kB / 0.5759 GB, free: 1.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.423, allocations: 309.7 kB / 0.5762 GB, free: 1.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.4231, allocations: 37.64 kB / 0.5762 GB, free: 1.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4232, allocations: 184.7 kB / 0.5764 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.4232, allocations: 98.55 kB / 0.5765 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/0.4233, allocations: 49.7 kB / 0.5765 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.4234, allocations: 342.8 kB / 0.5768 GB, free: 400 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.4236, allocations: 112.8 kB / 0.577 GB, free: 284 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.4239, allocations: 133.6 kB / 0.5771 GB, free: 144 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.4244, allocations: 243 kB / 0.5773 GB, free: 15.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4244, allocations: 0 / 0.5773 GB, free: 15.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001376/0.4257, allocations: 497.5 kB / 0.5778 GB, free: 15.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4258, allocations: 4 kB / 0.5778 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4258, allocations: 0 / 0.5778 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.4271, allocations: 258.2 kB / 0.578 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.4273, allocations: 35.92 kB / 0.5781 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.4283, allocations: 0.8034 MB / 0.5789 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.4286, allocations: 24.03 kB / 0.5789 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.4287, allocations: 12 kB / 0.5789 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003563/0.429, allocations: 212.1 kB / 0.5791 GB, free: 14.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002488/0.4293, allocations: 121.7 kB / 0.5792 GB, free: 13.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004809/0.4298, allocations: 250.3 kB / 0.5794 GB, free: 13.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.4298, allocations: 0 / 0.5794 GB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001262/0.431, allocations: 485.5 kB / 0.5799 GB, free: 13.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.4311, allocations: 6.969 kB / 0.5799 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.4311, allocations: 0 / 0.5799 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.4322, allocations: 240.7 kB / 0.5801 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.4324, allocations: 35.92 kB / 0.5802 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009277/0.4333, allocations: 0.7787 MB / 0.5809 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.4336, allocations: 27.89 kB / 0.581 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.4337, allocations: 12 kB / 0.581 GB, free: 12.05 MB / 410.7 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 0.0001385/0.4338, allocations: 192.8 kB / 0.5812 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.4339, allocations: 35.62 kB / 0.5812 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.4349, allocations: 0.5571 MB / 0.5817 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.435, allocations: 11.92 kB / 0.5817 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.435, allocations: 4 kB / 0.5818 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.435, allocations: 2.875 kB / 0.5818 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.4367, allocations: 1.032 MB / 0.5828 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4367, allocations: 3.984 kB / 0.5828 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.437, allocations: 67.89 kB / 0.5828 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000283/0.4373, allocations: 52.81 kB / 0.5829 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.4374, allocations: 11.98 kB / 0.5829 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.4385, allocations: 1.335 MB / 0.5842 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4385, allocations: 0 / 0.5842 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1568/0.5953, allocations: 51.54 MB / 0.6345 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.5955, allocations: 136.5 kB / 0.6347 GB, free: 4.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.5955, allocations: 8 kB / 0.6347 GB, free: 4.012 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.5958, allocations: 28.12 kB / 0.6347 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.5959, allocations: 23.91 kB / 0.6347 GB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.5959, allocations: 8 kB / 0.6347 GB, free: 3.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.5961, allocations: 223.2 kB / 0.6349 GB, free: 3.738 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5961, allocations: 0 / 0.6349 GB, free: 3.738 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009064/0.6052, allocations: 3.144 MB / 0.638 GB, free: 0.5938 MB / 458.7 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.01754/0.6228, allocations: 2.064 MB / 0.64 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.6247, allocations: 0.5933 MB / 0.6406 GB, free: 13.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6247, allocations: 4.062 kB / 0.6406 GB, free: 13.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.6253, allocations: 314.5 kB / 0.6409 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/0.6263, allocations: 144.2 kB / 0.641 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.6285, allocations: 1.617 MB / 0.6426 GB, free: 11.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.6288, allocations: 0.8158 MB / 0.6434 GB, free: 10.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.629, allocations: 38.95 kB / 0.6435 GB, free: 10.92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.6292, allocations: 31.44 kB / 0.6435 GB, free: 10.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6292, allocations: 0 / 0.6435 GB, free: 10.89 MB / 474.7 MB Notification: Performance of Templates: time 0.3481/0.9773, allocations: 136.9 MB / 0.7772 GB, free: 90.7 MB / 0.4948 GB 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)