Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003819/0.003825, allocations: 350.6 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.694/3.694, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003607/0.003606, allocations: 214.2 kB / 397.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4867/0.4867, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007224/0.0007228, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1016, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.536/7.637, allocations: 2.502 GB / 3.109 GB, free: 23.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/7.638, allocations: 90.23 kB / 3.109 GB, free: 23.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.492/10.13, allocations: 409.9 MB / 3.509 GB, free: 44.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.176e-06/10.13, allocations: 5.031 kB / 3.509 GB, free: 44.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.467e-05/10.13, allocations: 19.34 kB / 3.509 GB, free: 44.1 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009112/10.14, allocations: 1.782 MB / 3.511 GB, free: 43.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/10.14, allocations: 12.62 kB / 3.511 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/10.14, allocations: 317 kB / 3.511 GB, free: 43.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/10.15, allocations: 0.589 MB / 3.512 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/10.15, allocations: 51.41 kB / 3.512 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002672/10.15, allocations: 54.7 kB / 3.512 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/10.15, allocations: 0.9977 MB / 3.513 GB, free: 42.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/10.15, allocations: 1.828 kB / 3.513 GB, free: 42.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/10.15, allocations: 32.08 kB / 3.513 GB, free: 42.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/10.15, allocations: 30.75 kB / 3.513 GB, free: 42.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004562/10.16, allocations: 0.9041 MB / 3.514 GB, free: 42.86 MB / 442.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.007251/10.16, allocations: 4.452 MB / 3.518 GB, free: 39.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003899/10.17, allocations: 0.7993 MB / 3.519 GB, free: 39.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/10.17, allocations: 297.1 kB / 3.519 GB, free: 39.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2922/10.46, allocations: 82.77 MB / 3.6 GB, free: 22.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/10.46, allocations: 39.94 kB / 3.6 GB, free: 22.92 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.276e-06/10.46, allocations: 0 / 3.6 GB, free: 22.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.01103/10.47, allocations: 2.234 MB / 3.602 GB, free: 22.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/10.47, allocations: 110.2 kB / 3.603 GB, free: 22.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/10.47, allocations: 490.8 kB / 3.603 GB, free: 22.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001818/10.47, allocations: 32.45 kB / 3.603 GB, free: 22.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/10.47, allocations: 344.8 kB / 3.603 GB, free: 22.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/10.47, allocations: 176.6 kB / 3.604 GB, free: 21.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/10.47, allocations: 11.47 kB / 3.604 GB, free: 21.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/10.47, allocations: 365 kB / 3.604 GB, free: 21.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/10.47, allocations: 269.6 kB / 3.604 GB, free: 21.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/10.48, allocations: 469.4 kB / 3.605 GB, free: 21.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/10.48, allocations: 310.8 kB / 3.605 GB, free: 21.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/10.48, allocations: 3.906 kB / 3.605 GB, free: 21.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004119/10.48, allocations: 0.9892 MB / 3.606 GB, free: 21.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/10.48, allocations: 264.4 kB / 3.606 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/10.48, allocations: 7.375 kB / 3.606 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/10.49, allocations: 441.8 kB / 3.607 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/10.49, allocations: 150.9 kB / 3.607 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/10.49, allocations: 0.9043 MB / 3.608 GB, free: 20.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/10.49, allocations: 90.17 kB / 3.608 GB, free: 20.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/10.49, allocations: 38.72 kB / 3.608 GB, free: 20.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/10.49, allocations: 11.31 kB / 3.608 GB, free: 20.38 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004194/10.49, allocations: 0.9458 MB / 3.609 GB, free: 20.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/10.49, allocations: 6.562 kB / 3.609 GB, free: 20.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/10.5, allocations: 335.4 kB / 3.609 GB, free: 20.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/10.5, allocations: 146.6 kB / 3.609 GB, free: 20.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/10.5, allocations: 0.8865 MB / 3.61 GB, free: 19.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/10.5, allocations: 95.05 kB / 3.61 GB, free: 19.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/10.5, allocations: 39.56 kB / 3.61 GB, free: 19.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0006371/10.5, allocations: 288.9 kB / 3.61 GB, free: 19.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/10.5, allocations: 60.55 kB / 3.61 GB, free: 19.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/10.51, allocations: 2.908 MB / 3.613 GB, free: 19.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.674e-05/10.51, allocations: 44.47 kB / 3.613 GB, free: 19.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/10.51, allocations: 2.625 kB / 3.613 GB, free: 19.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/10.51, allocations: 3.422 kB / 3.613 GB, free: 19.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007228/10.52, allocations: 4.039 MB / 3.617 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/10.52, allocations: 0 / 3.617 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/10.52, allocations: 171.8 kB / 3.617 GB, free: 18.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005802/10.52, allocations: 78.25 kB / 3.617 GB, free: 18.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.83e-05/10.52, allocations: 16.62 kB / 3.617 GB, free: 18.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009785/10.52, allocations: 1.178 MB / 3.619 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/10.52, allocations: 3.141 kB / 3.619 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/10.52, allocations: 2.569 MB / 3.621 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008/10.52, allocations: 316 kB / 3.621 GB, free: 17.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/10.52, allocations: 15.11 kB / 3.621 GB, free: 17.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/10.53, allocations: 77.75 kB / 3.622 GB, free: 17.13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/10.53, allocations: 56.36 kB / 3.622 GB, free: 17.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/10.53, allocations: 24.88 kB / 3.622 GB, free: 17.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007475/10.53, allocations: 395.2 kB / 3.622 GB, free: 17.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-07/10.53, allocations: 0 / 3.622 GB, free: 17.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007656/10.53, allocations: 1.383 MB / 3.623 GB, free: 16.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01249/10.55, allocations: 1.737 MB / 3.625 GB, free: 16.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005287/10.55, allocations: 1.502 MB / 3.627 GB, free: 16.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/10.55, allocations: 0 / 3.627 GB, free: 16.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/10.55, allocations: 0.8574 MB / 3.627 GB, free: 16.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/10.56, allocations: 309.3 kB / 3.628 GB, free: 16.35 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4559/11.01, allocations: 40.53 MB / 3.667 GB, free: 74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/11.01, allocations: 1.166 MB / 3.668 GB, free: 73.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001861/11.02, allocations: 0.649 MB / 3.669 GB, free: 73.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/11.02, allocations: 67.42 kB / 3.669 GB, free: 73.29 MB / 474.7 MB Notification: Performance of SimCode: time 1.323e-06/11.02, allocations: 2.906 kB / 3.669 GB, free: 73.29 MB / 474.7 MB Notification: Performance of Templates: time 0.1073/11.12, allocations: 45.55 MB / 3.714 GB, free: 72.18 MB / 474.7 MB