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.008562/0.008562, allocations: 167.4 kB / 15.11 MB, free: 5.969 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.552/1.552, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001624/0.001624, allocations: 110.6 kB / 226.2 MB, free: 10.11 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.373/0.373, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 8 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 48.7 MB / 411.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.692/7.82, allocations: 2.518 GB / 2.92 GB, free: 84.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005263/7.821, allocations: 93.02 kB / 2.92 GB, free: 84.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.292/10.11, allocations: 446 MB / 3.355 GB, free: 34.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.228e-06/10.11, allocations: 0 / 3.355 GB, free: 34.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001399/10.11, allocations: 30.81 kB / 3.355 GB, free: 34.87 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.01157/10.12, allocations: 2.415 MB / 3.358 GB, free: 33.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/10.12, allocations: 13.12 kB / 3.358 GB, free: 33.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/10.13, allocations: 425.3 kB / 3.358 GB, free: 33.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/10.13, allocations: 1.015 MB / 3.359 GB, free: 33.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/10.13, allocations: 101.3 kB / 3.359 GB, free: 33.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/10.13, allocations: 132 kB / 3.359 GB, free: 33.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/10.14, allocations: 1.657 MB / 3.361 GB, free: 32.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.133e-05/10.14, allocations: 5.844 kB / 3.361 GB, free: 32.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/10.14, allocations: 55.75 kB / 3.361 GB, free: 32.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.151e-05/10.14, allocations: 50.88 kB / 3.361 GB, free: 32.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/10.14, allocations: 1.345 MB / 3.362 GB, free: 32.89 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.009709/10.15, allocations: 7.678 MB / 3.37 GB, free: 28.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/10.15, allocations: 0.8987 MB / 3.371 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03583/10.19, allocations: 18.35 MB / 3.389 GB, free: 16.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.945e-05/10.19, allocations: 40.47 kB / 3.389 GB, free: 16.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 5.07e-06/10.19, allocations: 1.125 kB / 3.389 GB, free: 16.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.03662/10.22, allocations: 6.483 MB / 3.395 GB, free: 15.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1144/10.34, allocations: 43.29 MB / 3.437 GB, free: 25.74 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.001549/10.34, allocations: 0.7807 MB / 3.438 GB, free: 25.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/10.34, allocations: 35.95 kB / 3.438 GB, free: 25.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/10.34, allocations: 0.7172 MB / 3.439 GB, free: 25.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/10.34, allocations: 322.7 kB / 3.439 GB, free: 24.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/10.34, allocations: 24.53 kB / 3.439 GB, free: 24.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/10.34, allocations: 357.6 kB / 3.44 GB, free: 24.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009642/10.34, allocations: 474.8 kB / 3.44 GB, free: 24.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/10.34, allocations: 0.9667 MB / 3.441 GB, free: 24.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/10.34, allocations: 0.5965 MB / 3.442 GB, free: 24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.557e-06/10.34, allocations: 7.438 kB / 3.442 GB, free: 23.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003664/10.35, allocations: 1.774 MB / 3.443 GB, free: 23.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003193/10.35, allocations: 6.363 MB / 3.449 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/10.35, allocations: 14.78 kB / 3.449 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005238/10.36, allocations: 1.061 MB / 3.451 GB, free: 17.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/10.36, allocations: 303.1 kB / 3.451 GB, free: 17.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/10.36, allocations: 1.731 MB / 3.453 GB, free: 16.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/10.36, allocations: 120.1 kB / 3.453 GB, free: 16.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/10.36, allocations: 84.61 kB / 3.453 GB, free: 16.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/10.36, allocations: 6.969 kB / 3.453 GB, free: 16.01 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004114/10.37, allocations: 1.794 MB / 3.454 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/10.37, allocations: 17.81 kB / 3.454 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/10.37, allocations: 0.744 MB / 3.455 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/10.37, allocations: 299.8 kB / 3.455 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/10.37, allocations: 1.701 MB / 3.457 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/10.38, allocations: 110.8 kB / 3.457 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/10.38, allocations: 78.23 kB / 3.457 GB, free: 14.79 MB / 458.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 () * Number of clocked 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.001267/10.38, allocations: 417.9 kB / 3.458 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/10.38, allocations: 118.9 kB / 3.458 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005995/10.38, allocations: 3.859 MB / 3.462 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-05/10.38, allocations: 45.3 kB / 3.462 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/10.38, allocations: 0 / 3.462 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/10.38, allocations: 10.73 kB / 3.462 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009899/10.39, allocations: 5.939 MB / 3.467 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/10.39, allocations: 0 / 3.467 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/10.39, allocations: 157.2 kB / 3.468 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004972/10.4, allocations: 1.708 MB / 3.469 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/10.4, allocations: 31.64 kB / 3.469 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/10.4, allocations: 2.43 MB / 3.472 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05812/10.46, allocations: 25.15 MB / 3.496 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007549/10.47, allocations: 3.916 MB / 3.5 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/10.47, allocations: 398.1 kB / 3.5 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/10.47, allocations: 20 kB / 3.5 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008965/10.47, allocations: 101.7 kB / 3.501 GB, free: 0.582 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/10.47, allocations: 70.44 kB / 3.501 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/10.47, allocations: 39.52 kB / 3.501 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00141/10.47, allocations: 0.6829 MB / 3.501 GB, free: 0 / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/10.47, allocations: 336 / 3.501 GB, free: 0 / 474.7 MB Notification: Performance of remove unused functions: time 0.3742/10.85, allocations: 3.999 MB / 3.505 GB, free: 61.68 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 () * Number of clocked 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.03512/10.88, allocations: 3.276 MB / 3.508 GB, free: 61.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007369/10.89, allocations: 2.454 MB / 3.511 GB, free: 61.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/10.89, allocations: 0 / 3.511 GB, free: 61.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/10.89, allocations: 1.139 MB / 3.512 GB, free: 61.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/10.89, allocations: 391.9 kB / 3.512 GB, free: 61.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1545/11.05, allocations: 78.99 MB / 3.589 GB, free: 57.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/11.05, allocations: 1.431 MB / 3.591 GB, free: 56.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002136/11.05, allocations: 0.7476 MB / 3.592 GB, free: 56.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/11.05, allocations: 113.6 kB / 3.592 GB, free: 56.86 MB / 474.7 MB Notification: Performance of SimCode: time 2.044e-06/11.05, allocations: 4 kB / 3.592 GB, free: 56.85 MB / 474.7 MB Notification: Performance of Templates: time 0.6078/11.66, allocations: 124 MB / 3.713 GB, free: 58.77 MB / 474.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)