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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 95 kB / 16.3 MB, free: 5.996 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.0009877/0.0009877, allocations: 188.2 kB / 17.2 MB, free: 5.91 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.364/1.364, allocations: 205.4 MB / 223.4 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4044/0.4044, allocations: 48.76 MB / 320.4 MB, free: 3.844 MB / 254.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.0005195/0.0005195, allocations: 16 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 60.25 MB / 451.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.2243/0.3465, allocations: 30.2 MB / 481.6 MB, free: 31.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3565, allocations: 7.69 MB / 489.3 MB, free: 26.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009222/0.3575, allocations: 19.09 kB / 489.3 MB, free: 26.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.3581, allocations: 130.4 kB / 489.4 MB, free: 26.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009802/0.3591, allocations: 330.1 kB / 489.8 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.3714, allocations: 3.482 MB / 493.2 MB, free: 24.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.3724, allocations: 0.5721 MB / 493.8 MB, free: 24.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.3729, allocations: 310.1 kB / 494.1 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.3744, allocations: 0.792 MB / 494.9 MB, free: 23.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.3749, allocations: 391.3 kB / 495.3 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.375, allocations: 31.28 kB / 495.3 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/0.3885, allocations: 6.086 MB / 0.4896 GB, free: 21.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.3888, allocations: 91.7 kB / 0.4897 GB, free: 21.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.3892, allocations: 139.3 kB / 0.4899 GB, free: 21.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007214/0.3964, allocations: 2.684 MB / 0.4925 GB, free: 20.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3965, allocations: 3.938 kB / 0.4925 GB, free: 20 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.3965, allocations: 1.031 kB / 0.4925 GB, free: 20 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.3965, allocations: 0 / 0.4925 GB, free: 20 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0037/0.4002, allocations: 1.157 MB / 0.4936 GB, free: 19.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4002, allocations: 8.781 kB / 0.4936 GB, free: 19.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.4005, allocations: 77.39 kB / 0.4937 GB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.401, allocations: 374.1 kB / 0.4941 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.401, allocations: 64.77 kB / 0.4941 GB, free: 18.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.882e-05/0.4011, allocations: 56.3 kB / 0.4942 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.4021, allocations: 0.5235 MB / 0.4947 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.4021, allocations: 5.188 kB / 0.4947 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.4021, allocations: 21.59 kB / 0.4947 GB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.4022, allocations: 15.33 kB / 0.4947 GB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.4031, allocations: 413.3 kB / 0.4951 GB, free: 18.16 MB / 382.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.002223/0.4053, allocations: 2.057 MB / 0.4971 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.406, allocations: 341 kB / 0.4975 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06101/0.467, allocations: 32.29 MB / 0.529 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.4671, allocations: 42.5 kB / 0.529 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 3.867e-06/0.4671, allocations: 0 / 0.529 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.004681/0.4718, allocations: 1.675 MB / 0.5307 GB, free: 13.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4719, allocations: 55.41 kB / 0.5307 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.4723, allocations: 365.7 kB / 0.5311 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.4723, allocations: 29.7 kB / 0.5311 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.4725, allocations: 264.1 kB / 0.5314 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4726, allocations: 134 kB / 0.5315 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.4727, allocations: 8 kB / 0.5315 GB, free: 12.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4728, allocations: 358.8 kB / 0.5318 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.4731, allocations: 132.8 kB / 0.532 GB, free: 11.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.4735, allocations: 194.6 kB / 0.5321 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.4738, allocations: 161.5 kB / 0.5323 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4738, allocations: 3.938 kB / 0.5323 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009944/0.4748, allocations: 482.4 kB / 0.5328 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002836/0.4751, allocations: 0.6084 MB / 0.5334 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.4752, allocations: 0 / 0.5334 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/0.4757, allocations: 103 kB / 0.5335 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.4761, allocations: 91.89 kB / 0.5335 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006322/0.4768, allocations: 0.6427 MB / 0.5342 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.4771, allocations: 43.92 kB / 0.5342 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.4772, allocations: 12 kB / 0.5342 GB, free: 9.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/0.4772, allocations: 4 kB / 0.5342 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000912/0.4781, allocations: 432.7 kB / 0.5346 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4781, allocations: 1.406 kB / 0.5346 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.4783, allocations: 52.83 kB / 0.5347 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.4787, allocations: 99.81 kB / 0.5348 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.4805, allocations: 1.652 MB / 0.5364 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.4809, allocations: 40.03 kB / 0.5364 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.4809, allocations: 12 kB / 0.5364 GB, free: 7.031 MB / 414.1 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 (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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.4812, allocations: 249 kB / 0.5367 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.4813, allocations: 51.44 kB / 0.5367 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.4826, allocations: 0.7105 MB / 0.5374 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.4826, allocations: 7.984 kB / 0.5374 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4826, allocations: 0 / 0.5374 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4826, allocations: 4 kB / 0.5374 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.4848, allocations: 1.432 MB / 0.5388 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4848, allocations: 0 / 0.5388 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.4852, allocations: 89.45 kB / 0.5389 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/0.4858, allocations: 373.8 kB / 0.5393 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4859, allocations: 8 kB / 0.5393 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007443/0.4866, allocations: 0.8311 MB / 0.5401 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4866, allocations: 4.031 kB / 0.5401 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.4883, allocations: 1.066 MB / 0.5411 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.4885, allocations: 148.5 kB / 0.5413 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.4886, allocations: 8 kB / 0.5413 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.4889, allocations: 43.91 kB / 0.5413 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.489, allocations: 31.91 kB / 0.5414 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.489, allocations: 16 kB / 0.5414 GB, free: 1.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.4893, allocations: 259.2 kB / 0.5416 GB, free: 1.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4893, allocations: 4 kB / 0.5416 GB, free: 1.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003851/0.4932, allocations: 0.9646 MB / 0.5426 GB, free: 0.5547 MB / 414.1 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 (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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003616/0.4968, allocations: 0.9757 MB / 0.5435 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.4984, allocations: 0.7322 MB / 0.5442 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4984, allocations: 0 / 0.5442 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.499, allocations: 262.7 kB / 0.5445 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.4998, allocations: 153.4 kB / 0.5446 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.5018, allocations: 1.583 MB / 0.5462 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.5023, allocations: 0.867 MB / 0.547 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000299/0.5026, allocations: 92.09 kB / 0.5471 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.5027, allocations: 39.38 kB / 0.5472 GB, free: 11.79 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5027, allocations: 0 / 0.5472 GB, free: 11.79 MB / 430.1 MB Notification: Performance of Templates: time 0.04742/0.5501, allocations: 35.31 MB / 0.5816 GB, free: 8.492 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: