Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001751/0.001751, 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.36/1.36, allocations: 205.1 MB / 223.1 MB, free: 8.48 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.0009874/0.0009874, allocations: 106 kB / 270.5 MB, free: 8.449 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3754/0.3754, allocations: 48.83 MB / 366.7 MB, free: 46.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.91 kB / 436.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 59.14 MB / 495.7 MB, free: 164 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.2293/0.3413, allocations: 36.66 MB / 0.5199 GB, free: 40.63 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009262/0.3506, allocations: 9.513 MB / 0.5292 GB, free: 34.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.3511, allocations: 16.38 kB / 0.5292 GB, free: 34.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.3516, allocations: 138.5 kB / 0.5294 GB, free: 34.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.3523, allocations: 313.3 kB / 0.5297 GB, free: 33.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009195/0.3615, allocations: 3.613 MB / 0.5332 GB, free: 32.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.3625, allocations: 1.059 MB / 0.5342 GB, free: 31.87 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.363, allocations: 357.8 kB / 0.5346 GB, free: 31.74 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007913/0.3638, allocations: 0.525 MB / 0.5351 GB, free: 31.58 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.3642, allocations: 389.9 kB / 0.5355 GB, free: 31.42 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.3643, allocations: 34.91 kB / 0.5355 GB, free: 31.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009759/0.3741, allocations: 6.184 MB / 0.5415 GB, free: 29.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.3742, allocations: 108.2 kB / 0.5416 GB, free: 29.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.3746, allocations: 285.4 kB / 0.5419 GB, free: 29.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006954/0.3816, allocations: 3.989 MB / 0.5458 GB, free: 27.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3816, allocations: 0 / 0.5458 GB, free: 27.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3816, allocations: 0 / 0.5458 GB, free: 27.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3816, allocations: 5.375 kB / 0.5458 GB, free: 27.49 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003434/0.3851, allocations: 1.234 MB / 0.547 GB, free: 26.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3851, allocations: 9.281 kB / 0.547 GB, free: 26.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.3854, allocations: 81.95 kB / 0.5471 GB, free: 26.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.3858, allocations: 384.4 kB / 0.5475 GB, free: 26.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-05/0.3859, allocations: 68 kB / 0.5475 GB, free: 26.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.386, allocations: 51.78 kB / 0.5476 GB, free: 26.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.387, allocations: 0.5215 MB / 0.5481 GB, free: 25.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.3871, allocations: 6.469 kB / 0.5481 GB, free: 25.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.3871, allocations: 15.66 kB / 0.5481 GB, free: 25.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.3871, allocations: 11.97 kB / 0.5481 GB, free: 25.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3882, allocations: 405.9 kB / 0.5485 GB, free: 25.57 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.002481/0.3907, allocations: 2.064 MB / 0.5505 GB, free: 23.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.3913, allocations: 333.9 kB / 0.5508 GB, free: 23.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.3917, allocations: 163.1 kB / 0.551 GB, free: 23.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05969/0.4514, allocations: 31.98 MB / 0.5822 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.4515, allocations: 42.42 kB / 0.5823 GB, free: 10.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.275e-06/0.4515, allocations: 0 / 0.5823 GB, free: 10.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.004134/0.4556, allocations: 1.599 MB / 0.5838 GB, free: 9.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4557, allocations: 67.33 kB / 0.5839 GB, free: 9.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.4561, allocations: 365.7 kB / 0.5842 GB, free: 8.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.4561, allocations: 33.7 kB / 0.5843 GB, free: 8.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.4563, allocations: 252.2 kB / 0.5845 GB, free: 8.473 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.4564, allocations: 141.9 kB / 0.5846 GB, free: 8.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4565, allocations: 70.12 kB / 0.5847 GB, free: 8.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4567, allocations: 354.8 kB / 0.5851 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.457, allocations: 138.5 kB / 0.5852 GB, free: 7.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.4574, allocations: 198.5 kB / 0.5854 GB, free: 7.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.4581, allocations: 327.8 kB / 0.5857 GB, free: 7.211 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4581, allocations: 4 kB / 0.5857 GB, free: 7.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001006/0.4591, allocations: 481.4 kB / 0.5862 GB, free: 6.727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4591, allocations: 8 kB / 0.5862 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4591, allocations: 160 / 0.5862 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.4596, allocations: 104.8 kB / 0.5863 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.46, allocations: 90.33 kB / 0.5863 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006121/0.4607, allocations: 0.6304 MB / 0.587 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.461, allocations: 43.84 kB / 0.587 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.4611, allocations: 12 kB / 0.587 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004279/0.4615, allocations: 256.9 kB / 0.5873 GB, free: 5.559 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003356/0.4618, allocations: 182.3 kB / 0.5874 GB, free: 5.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006626/0.4625, allocations: 326.1 kB / 0.5877 GB, free: 5.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.4625, allocations: 4 kB / 0.5877 GB, free: 5.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0009893/0.4635, allocations: 465.6 kB / 0.5882 GB, free: 4.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.4635, allocations: 7.938 kB / 0.5882 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.4636, allocations: 4 kB / 0.5882 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.4638, allocations: 60.75 kB / 0.5883 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.4641, allocations: 83.89 kB / 0.5883 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.4658, allocations: 1.635 MB / 0.5899 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.4662, allocations: 38.73 kB / 0.59 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.4662, allocations: 16 kB / 0.59 GB, free: 2.598 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.4664, allocations: 208.1 kB / 0.5902 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.4665, allocations: 43.44 kB / 0.5902 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.4677, allocations: 0.6987 MB / 0.5909 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4677, allocations: 11.98 kB / 0.5909 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4677, allocations: 3.938 kB / 0.5909 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4677, allocations: 0 / 0.5909 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.4699, allocations: 1.412 MB / 0.5923 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.4699, allocations: 2 kB / 0.5923 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.4703, allocations: 79.89 kB / 0.5924 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006137/0.4709, allocations: 371.6 kB / 0.5927 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.4709, allocations: 8 kB / 0.5927 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007101/0.4717, allocations: 0.8396 MB / 0.5936 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4717, allocations: 0 / 0.5936 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1518/0.6235, allocations: 50.49 MB / 0.6429 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.6237, allocations: 148.5 kB / 0.643 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.6237, allocations: 12 kB / 0.643 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.6241, allocations: 27.97 kB / 0.643 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.6242, allocations: 31.95 kB / 0.6431 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.6242, allocations: 20.06 kB / 0.6431 GB, free: 11.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002713/0.6245, allocations: 263.1 kB / 0.6433 GB, free: 10.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6245, allocations: 0 / 0.6433 GB, free: 10.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004295/0.6288, allocations: 1.21 MB / 0.6445 GB, free: 9.625 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.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): 31 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005008/0.6338, allocations: 1.108 MB / 0.6456 GB, free: 8.504 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.6356, allocations: 0.7142 MB / 0.6463 GB, free: 7.777 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6356, allocations: 4 kB / 0.6463 GB, free: 7.773 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.6361, allocations: 254 kB / 0.6466 GB, free: 7.527 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.6372, allocations: 161.9 kB / 0.6467 GB, free: 7.371 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.6399, allocations: 1.959 MB / 0.6486 GB, free: 5.344 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.6404, allocations: 0.8711 MB / 0.6495 GB, free: 4.441 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.6408, allocations: 96.09 kB / 0.6496 GB, free: 4.344 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.641, allocations: 43.42 kB / 0.6496 GB, free: 4.301 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/0.641, allocations: 0 / 0.6496 GB, free: 4.301 MB / 474.7 MB Notification: Performance of Templates: time 0.2222/0.8631, allocations: 37.61 MB / 0.6863 GB, free: 142.2 MB / 0.4949 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)