Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001477/0.001477, allocations: 169.8 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.247/1.247, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.0017/0.0017, allocations: 107.5 kB / 223.2 MB, free: 4.047 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.1715/0.1715, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.295e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08277/0.08282, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.016/5.098, allocations: 2.518 GB / 2.914 GB, free: 91.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/5.099, allocations: 87.52 kB / 2.914 GB, free: 91.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38/6.479, allocations: 444.8 MB / 3.348 GB, free: 3.906 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.724e-06/6.479, allocations: 3.938 kB / 3.348 GB, free: 3.902 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.963e-05/6.479, allocations: 35.94 kB / 3.348 GB, free: 3.867 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007717/6.487, allocations: 2.246 MB / 3.351 GB, free: 1.582 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/6.487, allocations: 16.03 kB / 3.351 GB, free: 1.566 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/6.49, allocations: 433.6 kB / 3.351 GB, free: 1.145 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/6.492, allocations: 0.9927 MB / 3.352 GB, free: 124 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/6.492, allocations: 98.61 kB / 3.352 GB, free: 24 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2739/6.766, allocations: 132.9 kB / 3.352 GB, free: 32.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/6.77, allocations: 1.618 MB / 3.354 GB, free: 32.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.774e-05/6.77, allocations: 12.36 kB / 3.354 GB, free: 32.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/6.77, allocations: 56.12 kB / 3.354 GB, free: 32.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/6.77, allocations: 47.69 kB / 3.354 GB, free: 32.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/6.773, allocations: 1.243 MB / 3.355 GB, free: 32.07 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.007592/6.78, allocations: 7.666 MB / 3.363 GB, free: 27.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/6.782, allocations: 0.8426 MB / 3.363 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/6.782, allocations: 289.6 kB / 3.364 GB, free: 27.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03399/6.816, allocations: 18.41 MB / 3.382 GB, free: 32.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/6.817, allocations: 38.59 kB / 3.382 GB, free: 32.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=68): time 3.056e-06/6.817, allocations: 0 / 3.382 GB, free: 32.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.02962/6.846, allocations: 5.732 MB / 3.387 GB, free: 31.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1072/6.953, allocations: 43.11 MB / 3.429 GB, free: 25.72 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.001383/6.955, allocations: 0.7778 MB / 3.43 GB, free: 25.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/6.955, allocations: 41.61 kB / 3.43 GB, free: 25.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/6.956, allocations: 0.7062 MB / 3.431 GB, free: 25.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/6.956, allocations: 331.4 kB / 3.431 GB, free: 25.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/6.956, allocations: 29.62 kB / 3.431 GB, free: 25.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/6.956, allocations: 353.6 kB / 3.432 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/6.957, allocations: 388.3 kB / 3.432 GB, free: 24.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/6.958, allocations: 0.8961 MB / 3.433 GB, free: 24.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/6.959, allocations: 0.5115 MB / 3.433 GB, free: 24.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/6.959, allocations: 3.75 kB / 3.433 GB, free: 24.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002601/6.962, allocations: 1.579 MB / 3.435 GB, free: 23.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002291/6.964, allocations: 6.359 MB / 3.441 GB, free: 17.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/6.964, allocations: 18.91 kB / 3.441 GB, free: 17.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00444/6.968, allocations: 0.9815 MB / 3.442 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/6.97, allocations: 299.4 kB / 3.442 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/6.972, allocations: 1.646 MB / 3.444 GB, free: 16.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/6.973, allocations: 116.3 kB / 3.444 GB, free: 16.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/6.973, allocations: 84.66 kB / 3.444 GB, free: 16.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/6.973, allocations: 3.656 kB / 3.444 GB, free: 16.17 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003199/6.976, allocations: 1.61 MB / 3.446 GB, free: 16.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/6.976, allocations: 14.34 kB / 3.446 GB, free: 16.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/6.979, allocations: 0.6509 MB / 3.446 GB, free: 16.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/6.98, allocations: 308.7 kB / 3.447 GB, free: 16.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/6.982, allocations: 1.612 MB / 3.448 GB, free: 31.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/6.984, allocations: 112.5 kB / 3.448 GB, free: 31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/6.984, allocations: 79.61 kB / 3.448 GB, free: 31 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (145): * Single equations (assignments): 143 * 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: 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.000351/6.984, allocations: 195.1 kB / 3.449 GB, free: 30.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/6.984, allocations: 126.2 kB / 3.449 GB, free: 30.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005367/6.99, allocations: 3.955 MB / 3.453 GB, free: 30.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/6.99, allocations: 42.31 kB / 3.453 GB, free: 30.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/6.99, allocations: 0 / 3.453 GB, free: 30.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/6.99, allocations: 11.36 kB / 3.453 GB, free: 30.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007277/6.997, allocations: 5.824 MB / 3.458 GB, free: 29.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/6.997, allocations: 0 / 3.458 GB, free: 29.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/6.998, allocations: 162.8 kB / 3.459 GB, free: 29.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004215/7.002, allocations: 1.822 MB / 3.46 GB, free: 29.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.482e-05/7.002, allocations: 31.64 kB / 3.46 GB, free: 29.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/7.005, allocations: 2.438 MB / 3.463 GB, free: 28.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02809/7.033, allocations: 18.4 MB / 3.481 GB, free: 25.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005128/7.038, allocations: 3.808 MB / 3.484 GB, free: 23.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/7.039, allocations: 392.3 kB / 3.485 GB, free: 23.49 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/7.039, allocations: 26.56 kB / 3.485 GB, free: 23.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/7.04, allocations: 91.55 kB / 3.485 GB, free: 23.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/7.04, allocations: 85.77 kB / 3.485 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/7.04, allocations: 39.23 kB / 3.485 GB, free: 23.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000829/7.041, allocations: 0.6559 MB / 3.486 GB, free: 22.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/7.041, allocations: 0 / 3.486 GB, free: 22.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01654/7.057, allocations: 3.963 MB / 3.49 GB, free: 19.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.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 (75): * Single equations (assignments): 67 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02325/7.08, allocations: 3.275 MB / 3.493 GB, free: 16.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004364/7.085, allocations: 2.232 MB / 3.495 GB, free: 14.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/7.085, allocations: 0 / 3.495 GB, free: 14.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/7.086, allocations: 1.064 MB / 3.496 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/7.088, allocations: 396.2 kB / 3.496 GB, free: 13.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.418/7.506, allocations: 77.48 MB / 3.572 GB, free: 66.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008313/7.507, allocations: 1.432 MB / 3.573 GB, free: 65.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002174/7.51, allocations: 0.7797 MB / 3.574 GB, free: 65.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/7.51, allocations: 104.6 kB / 3.574 GB, free: 65.45 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/7.51, allocations: 0 / 3.574 GB, free: 65.45 MB / 490.7 MB Notification: Performance of Templates: time 0.1655/7.675, allocations: 128.2 MB / 3.699 GB, free: 17.77 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1)