Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001094/0.001094, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.274/1.274, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00167/0.00167, allocations: 114.7 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1905/0.1905, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.938e-05, allocations: 0 / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.001/5.102, allocations: 2.518 GB / 2.914 GB, free: 144.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/5.102, allocations: 86.5 kB / 2.914 GB, free: 144.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.309/6.411, allocations: 445.6 MB / 3.35 GB, free: 50.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.953e-06/6.411, allocations: 0 / 3.35 GB, free: 50.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.637e-05/6.411, allocations: 35.69 kB / 3.35 GB, free: 50.13 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00679/6.418, allocations: 2.275 MB / 3.352 GB, free: 48.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/6.418, allocations: 7.562 kB / 3.352 GB, free: 48.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/6.421, allocations: 432.8 kB / 3.352 GB, free: 48.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/6.424, allocations: 1.013 MB / 3.353 GB, free: 48.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/6.424, allocations: 104.5 kB / 3.353 GB, free: 48.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/6.424, allocations: 133.9 kB / 3.353 GB, free: 48.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/6.427, allocations: 1.646 MB / 3.355 GB, free: 47.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/6.427, allocations: 11.84 kB / 3.355 GB, free: 47.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/6.427, allocations: 56.25 kB / 3.355 GB, free: 47.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/6.427, allocations: 46.95 kB / 3.355 GB, free: 47.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/6.43, allocations: 1.264 MB / 3.356 GB, free: 46.75 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007483/6.437, allocations: 7.642 MB / 3.364 GB, free: 40.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/6.439, allocations: 0.8429 MB / 3.365 GB, free: 40.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/6.439, allocations: 306.7 kB / 3.365 GB, free: 40.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0293/6.469, allocations: 18.41 MB / 3.383 GB, free: 24.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/6.469, allocations: 43.34 kB / 3.383 GB, free: 24.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 3.006e-06/6.469, allocations: 0 / 3.383 GB, free: 24.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.02672/6.496, allocations: 5.415 MB / 3.388 GB, free: 20.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3493/6.845, allocations: 42.67 MB / 3.43 GB, free: 48.93 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Electrical/Machines.mo:12803:7-12804:76:writable] Warning: Parameter motor.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=motor.Jr) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/6.846, allocations: 0.7722 MB / 3.431 GB, free: 48.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001706/6.846, allocations: 38.92 kB / 3.431 GB, free: 48.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/6.847, allocations: 0.7213 MB / 3.431 GB, free: 48.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/6.847, allocations: 322.1 kB / 3.432 GB, free: 48.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/6.847, allocations: 28.66 kB / 3.432 GB, free: 48.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/6.847, allocations: 354.7 kB / 3.432 GB, free: 48.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000677/6.848, allocations: 406.1 kB / 3.432 GB, free: 48.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000822/6.849, allocations: 0.9004 MB / 3.433 GB, free: 47.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/6.85, allocations: 0.5265 MB / 3.434 GB, free: 47.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/6.85, allocations: 8.906 kB / 3.434 GB, free: 47.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002981/6.853, allocations: 1.583 MB / 3.435 GB, free: 47.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001537/6.854, allocations: 6.27 MB / 3.442 GB, free: 40.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/6.854, allocations: 16.62 kB / 3.442 GB, free: 40.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004798/6.859, allocations: 0.9427 MB / 3.442 GB, free: 40.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/6.86, allocations: 310.2 kB / 3.443 GB, free: 40.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/6.862, allocations: 1.544 MB / 3.444 GB, free: 39.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/6.863, allocations: 136.6 kB / 3.444 GB, free: 39.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/6.863, allocations: 84.92 kB / 3.445 GB, free: 39.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/6.863, allocations: 6.656 kB / 3.445 GB, free: 39.8 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003496/6.867, allocations: 1.673 MB / 3.446 GB, free: 39.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/6.867, allocations: 16.88 kB / 3.446 GB, free: 39.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/6.87, allocations: 0.6439 MB / 3.447 GB, free: 39.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/6.871, allocations: 308.8 kB / 3.447 GB, free: 39.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/6.872, allocations: 1.515 MB / 3.449 GB, free: 38.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/6.873, allocations: 135.2 kB / 3.449 GB, free: 38.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/6.873, allocations: 80.05 kB / 3.449 GB, free: 38.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 146 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003885/6.874, allocations: 201.1 kB / 3.449 GB, free: 38.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/6.874, allocations: 126.2 kB / 3.449 GB, free: 38.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004879/6.879, allocations: 3.828 MB / 3.453 GB, free: 38.22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003495/6.882, allocations: 3.292 MB / 3.456 GB, free: 38.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/6.882, allocations: 4.516 kB / 3.456 GB, free: 38.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/6.882, allocations: 3.656 kB / 3.456 GB, free: 38.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006326/6.889, allocations: 5.84 MB / 3.462 GB, free: 37.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/6.889, allocations: 0 / 3.462 GB, free: 37.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/6.889, allocations: 184 kB / 3.462 GB, free: 37.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00382/6.893, allocations: 1.756 MB / 3.464 GB, free: 37.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/6.893, allocations: 36.12 kB / 3.464 GB, free: 37.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/6.895, allocations: 2.414 MB / 3.466 GB, free: 36.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02661/6.922, allocations: 17.93 MB / 3.484 GB, free: 49.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/6.926, allocations: 3.788 MB / 3.487 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008141/6.927, allocations: 401.9 kB / 3.488 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/6.927, allocations: 24.62 kB / 3.488 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008156/6.928, allocations: 102.3 kB / 3.488 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/6.928, allocations: 70.3 kB / 3.488 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/6.928, allocations: 43.53 kB / 3.488 GB, free: 48.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008841/6.929, allocations: 0.6294 MB / 3.488 GB, free: 48.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/6.929, allocations: 0 / 3.488 GB, free: 48.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01628/6.945, allocations: 4.008 MB / 3.492 GB, free: 48.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.02267/6.968, allocations: 3.307 MB / 3.496 GB, free: 48.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004143/6.972, allocations: 2.301 MB / 3.498 GB, free: 48.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/6.972, allocations: 3.656 kB / 3.498 GB, free: 48.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/6.974, allocations: 1.108 MB / 3.499 GB, free: 48.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/6.976, allocations: 401.7 kB / 3.499 GB, free: 48.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1318/7.108, allocations: 77.2 MB / 3.575 GB, free: 22.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/7.109, allocations: 1.447 MB / 3.576 GB, free: 21.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002119/7.111, allocations: 0.757 MB / 3.577 GB, free: 20.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/7.111, allocations: 105.7 kB / 3.577 GB, free: 20.61 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/7.111, allocations: 0 / 3.577 GB, free: 20.61 MB / 474.7 MB Notification: Performance of Templates: time 0.4364/7.548, allocations: 127.7 MB / 3.702 GB, free: 41.93 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1)