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.001554/0.001554, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.479/1.479, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001779/0.001779, allocations: 107.5 kB / 218 MB, free: 8.41 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.2231/0.2231, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.318e-05, allocations: 2.375 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.603/6.726, allocations: 2.517 GB / 2.907 GB, free: 107.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/6.726, allocations: 84.84 kB / 2.907 GB, free: 107.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519/8.245, allocations: 441.3 MB / 3.338 GB, free: 32.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/8.245, allocations: 0 / 3.338 GB, free: 32.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001683/8.245, allocations: 34.28 kB / 3.338 GB, free: 32.06 MB / 426.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.009924/8.255, allocations: 2.279 MB / 3.34 GB, free: 30.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/8.255, allocations: 13.06 kB / 3.34 GB, free: 30.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003693/8.259, allocations: 428.9 kB / 3.341 GB, free: 30.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/8.262, allocations: 1.008 MB / 3.342 GB, free: 30.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/8.262, allocations: 48.19 kB / 3.342 GB, free: 30.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000633/8.263, allocations: 82.59 kB / 3.342 GB, free: 30.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00322/8.266, allocations: 0.9485 MB / 3.343 GB, free: 29.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/8.27, allocations: 1.232 MB / 3.344 GB, free: 28.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.992e-05/8.27, allocations: 11.84 kB / 3.344 GB, free: 28.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/8.27, allocations: 4 kB / 3.344 GB, free: 28.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.68e-05/8.27, allocations: 49.45 kB / 3.344 GB, free: 28.34 MB / 426.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.4774/8.748, allocations: 71.35 MB / 3.414 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/8.749, allocations: 0.4967 MB / 3.414 GB, free: 36.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/8.749, allocations: 260.8 kB / 3.414 GB, free: 36.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03007/8.779, allocations: 17.01 MB / 3.431 GB, free: 25.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/8.78, allocations: 38.34 kB / 3.431 GB, free: 25.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 3.958e-06/8.78, allocations: 0.8438 kB / 3.431 GB, free: 25.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.02765/8.807, allocations: 4.733 MB / 3.436 GB, free: 24.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/8.807, allocations: 140.6 kB / 3.436 GB, free: 24.41 MB / 442.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.001261/8.809, allocations: 0.714 MB / 3.436 GB, free: 24.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/8.809, allocations: 29.7 kB / 3.436 GB, free: 24.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/8.809, allocations: 0.74 MB / 3.437 GB, free: 23.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/8.81, allocations: 286.6 kB / 3.437 GB, free: 23.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/8.81, allocations: 0 / 3.437 GB, free: 23.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/8.81, allocations: 357.2 kB / 3.438 GB, free: 23.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/8.81, allocations: 382.6 kB / 3.438 GB, free: 23.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/8.811, allocations: 0.8663 MB / 3.439 GB, free: 22.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/8.813, allocations: 0.6174 MB / 3.44 GB, free: 22.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/8.813, allocations: 3.531 kB / 3.44 GB, free: 22.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003388/8.817, allocations: 1.542 MB / 3.441 GB, free: 22.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001194/8.818, allocations: 6.274 MB / 3.447 GB, free: 16.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/8.818, allocations: 15.09 kB / 3.447 GB, free: 16.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/8.82, allocations: 460.5 kB / 3.448 GB, free: 16.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/8.821, allocations: 302.4 kB / 3.448 GB, free: 16.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/8.823, allocations: 1.677 MB / 3.45 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/8.825, allocations: 143.6 kB / 3.45 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/8.825, allocations: 84.28 kB / 3.45 GB, free: 15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/8.825, allocations: 3.344 kB / 3.45 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002686/8.828, allocations: 1.188 MB / 3.451 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/8.828, allocations: 16.38 kB / 3.451 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/8.829, allocations: 309.9 kB / 3.451 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/8.83, allocations: 306.3 kB / 3.452 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/8.831, allocations: 1.404 MB / 3.453 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/8.833, allocations: 118.8 kB / 3.453 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/8.833, allocations: 74.02 kB / 3.453 GB, free: 13.87 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (148): * Single equations (assignments): 144 * 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.0004583/8.834, allocations: 153.4 kB / 3.453 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/8.834, allocations: 120 kB / 3.453 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/8.838, allocations: 2.762 MB / 3.456 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003526/8.842, allocations: 2.38 MB / 3.458 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/8.842, allocations: 0 / 3.458 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/8.842, allocations: 5.484 kB / 3.458 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007974/8.85, allocations: 4.581 MB / 3.463 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/8.85, allocations: 3.75 kB / 3.463 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/8.851, allocations: 136.3 kB / 3.463 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/8.853, allocations: 1.469 MB / 3.464 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/8.853, allocations: 14.36 kB / 3.464 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/8.856, allocations: 2.642 MB / 3.467 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.133/8.989, allocations: 56.44 MB / 3.522 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005123/8.994, allocations: 3.217 MB / 3.525 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008345/8.995, allocations: 360.1 kB / 3.526 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/8.995, allocations: 0 / 3.526 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/8.997, allocations: 86.06 kB / 3.526 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/8.997, allocations: 63.95 kB / 3.526 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/8.997, allocations: 38.12 kB / 3.526 GB, free: 5.039 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001102/8.998, allocations: 0.6185 MB / 3.526 GB, free: 4.648 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/8.998, allocations: 0 / 3.526 GB, free: 4.648 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01619/9.014, allocations: 3.901 MB / 3.53 GB, free: 1.176 MB / 458.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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.02826/9.042, allocations: 3.397 MB / 3.534 GB, free: 14.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005202/9.048, allocations: 1.897 MB / 3.535 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/9.048, allocations: 3.281 kB / 3.535 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/9.049, allocations: 0.8038 MB / 3.536 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/9.052, allocations: 348.5 kB / 3.537 GB, free: 12.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/9.058, allocations: 2.745 MB / 3.539 GB, free: 10.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/9.059, allocations: 1.361 MB / 3.541 GB, free: 9.777 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002431/9.062, allocations: 0.8741 MB / 3.541 GB, free: 9.246 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/9.062, allocations: 105.1 kB / 3.541 GB, free: 9.16 MB / 474.7 MB Notification: Performance of SimCode: time 8.41e-07/9.062, allocations: 0 / 3.541 GB, free: 9.16 MB / 474.7 MB Notification: Performance of Templates: time 0.4422/9.505, allocations: 115.9 MB / 3.655 GB, free: 54.28 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)