Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007717/0.0007717, allocations: 94.36 kB / 16.65 MB, free: 6.59 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.0007959/0.0007959, allocations: 184 kB / 17.57 MB, free: 6.199 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.328/1.328, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.284/0.284, allocations: 48.79 MB / 320.8 MB, free: 11.11 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.0005307/0.0005307, allocations: 16.5 kB / 391.8 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 60.27 MB / 452.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.07722/0.1931, allocations: 82.09 MB / 0.5216 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2671/0.4603, allocations: 11.82 MB / 0.5332 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.4613, allocations: 35.06 kB / 0.5332 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.4625, allocations: 325.1 kB / 0.5335 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.4648, allocations: 0.651 MB / 0.5342 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01562/0.4804, allocations: 4.514 MB / 0.5386 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.4841, allocations: 2.206 MB / 0.5407 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009168/0.485, allocations: 496.5 kB / 0.5412 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.4875, allocations: 1.201 MB / 0.5424 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.4887, allocations: 0.7341 MB / 0.5431 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.095e-05/0.4888, allocations: 33.53 kB / 0.5431 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/0.5034, allocations: 6.429 MB / 0.5494 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.5038, allocations: 142.7 kB / 0.5495 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.5048, allocations: 460.6 kB / 0.55 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.5177, allocations: 4.341 MB / 0.5542 GB, free: 6.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5178, allocations: 0 / 0.5542 GB, free: 6.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5178, allocations: 0 / 0.5542 GB, free: 6.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.5178, allocations: 0 / 0.5542 GB, free: 6.297 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005655/0.5234, allocations: 1.484 MB / 0.5557 GB, free: 5.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.5235, allocations: 12.78 kB / 0.5557 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.5239, allocations: 133.5 kB / 0.5558 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.5246, allocations: 0.5296 MB / 0.5563 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.5248, allocations: 140.8 kB / 0.5565 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5249, allocations: 66.81 kB / 0.5565 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.5263, allocations: 0.7985 MB / 0.5573 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.5264, allocations: 0 / 0.5573 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.5265, allocations: 24.31 kB / 0.5573 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.5265, allocations: 19.84 kB / 0.5573 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.5279, allocations: 0.6 MB / 0.5579 GB, free: 4.418 MB / 414.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.003076/0.5309, allocations: 3.646 MB / 0.5615 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.5323, allocations: 0.537 MB / 0.562 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.5327, allocations: 219.9 kB / 0.5622 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0676/0.6003, allocations: 32.43 MB / 0.5939 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.6004, allocations: 39.31 kB / 0.5939 GB, free: 7.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 4.508e-06/0.6004, allocations: 1.969 kB / 0.5939 GB, free: 7.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.005148/0.6056, allocations: 1.497 MB / 0.5954 GB, free: 6.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.6056, allocations: 62.75 kB / 0.5955 GB, free: 6.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.6063, allocations: 0.5701 MB / 0.596 GB, free: 5.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.6064, allocations: 29.89 kB / 0.596 GB, free: 5.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.6066, allocations: 352.1 kB / 0.5964 GB, free: 5.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.6068, allocations: 191.5 kB / 0.5966 GB, free: 5.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.6068, allocations: 52.75 kB / 0.5966 GB, free: 5.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.607, allocations: 385.5 kB / 0.597 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.6074, allocations: 178.5 kB / 0.5971 GB, free: 4.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.6079, allocations: 284.4 kB / 0.5974 GB, free: 4.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.6088, allocations: 497 kB / 0.5979 GB, free: 4.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6088, allocations: 0 / 0.5979 GB, free: 4.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001909/0.6107, allocations: 0.7838 MB / 0.5987 GB, free: 3.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.6109, allocations: 178.3 kB / 0.5988 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.6109, allocations: 4 kB / 0.5988 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.6122, allocations: 307.9 kB / 0.5991 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.6127, allocations: 105.5 kB / 0.5992 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.6142, allocations: 1.887 MB / 0.6011 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.6149, allocations: 106.7 kB / 0.6012 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.615, allocations: 31.8 kB / 0.6012 GB, free: 1.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.615, allocations: 4 kB / 0.6012 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001421/0.6164, allocations: 0.6314 MB / 0.6018 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6164, allocations: 4 kB / 0.6018 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000508/0.6169, allocations: 181.1 kB / 0.602 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.6174, allocations: 109.8 kB / 0.6021 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.6222, allocations: 4.933 MB / 0.6069 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.623, allocations: 110.7 kB / 0.607 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.623, allocations: 28.11 kB / 0.607 GB, free: 11.49 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.6234, allocations: 266.8 kB / 0.6073 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6235, allocations: 75.16 kB / 0.6074 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.6258, allocations: 1.534 MB / 0.6089 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.6259, allocations: 15.95 kB / 0.6089 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6259, allocations: 4 kB / 0.6089 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6259, allocations: 0 / 0.6089 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009334/0.6268, allocations: 0.8199 MB / 0.6097 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6268, allocations: 4 kB / 0.6097 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.6272, allocations: 78.48 kB / 0.6098 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.6289, allocations: 1.038 MB / 0.6108 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.6289, allocations: 19.11 kB / 0.6108 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.631, allocations: 2.51 MB / 0.6133 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.631, allocations: 2.812 kB / 0.6133 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.6339, allocations: 1.871 MB / 0.6151 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.6342, allocations: 214.1 kB / 0.6153 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.6343, allocations: 8.5 kB / 0.6153 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.6348, allocations: 61.98 kB / 0.6154 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.6349, allocations: 45.97 kB / 0.6154 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.635, allocations: 19.92 kB / 0.6154 GB, free: 4.824 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00045/0.6354, allocations: 391.3 kB / 0.6158 GB, free: 4.535 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6354, allocations: 0 / 0.6158 GB, free: 4.535 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004961/0.6404, allocations: 1.163 MB / 0.6169 GB, free: 3.426 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,8), (2,8), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005464/0.6459, allocations: 1.062 MB / 0.618 GB, free: 2.469 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.6489, allocations: 1.308 MB / 0.6192 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.649, allocations: 0 / 0.6192 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.65, allocations: 465.2 kB / 0.6197 GB, free: 1.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.6522, allocations: 364.8 kB / 0.62 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.6551, allocations: 2.137 MB / 0.6221 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.6556, allocations: 0.9829 MB / 0.6231 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005926/0.6562, allocations: 207.9 kB / 0.6233 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.6563, allocations: 47.44 kB / 0.6233 GB, free: 13.55 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6563, allocations: 0 / 0.6233 GB, free: 13.55 MB / 478.1 MB Notification: Performance of Templates: time 0.05883/0.7151, allocations: 42.61 MB / 0.6649 GB, free: 3.059 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1) Environment - environmentSimulation: