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.007559/0.007559, allocations: 166.1 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.551/1.551, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001737/0.001738, allocations: 114.6 kB / 226.2 MB, free: 10.1 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.3469/0.3469, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003913, allocations: 16 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.857/7.984, allocations: 2.518 GB / 2.92 GB, free: 83.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000412/7.984, allocations: 91.7 kB / 2.92 GB, free: 83.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.191/10.18, allocations: 446.8 MB / 3.357 GB, free: 34.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.725e-06/10.18, allocations: 1.969 kB / 3.357 GB, free: 34.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001007/10.18, allocations: 34.06 kB / 3.357 GB, free: 34.93 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.01135/10.19, allocations: 2.429 MB / 3.359 GB, free: 33.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/10.19, allocations: 8.75 kB / 3.359 GB, free: 33.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/10.19, allocations: 435.4 kB / 3.359 GB, free: 33.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/10.19, allocations: 1.018 MB / 3.36 GB, free: 33.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/10.19, allocations: 103.9 kB / 3.36 GB, free: 33.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/10.19, allocations: 137.2 kB / 3.361 GB, free: 33.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/10.2, allocations: 1.686 MB / 3.362 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/10.2, allocations: 6.719 kB / 3.362 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/10.2, allocations: 56.62 kB / 3.362 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/10.2, allocations: 47.02 kB / 3.362 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/10.2, allocations: 1.374 MB / 3.364 GB, free: 32.94 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.009289/10.21, allocations: 7.646 MB / 3.371 GB, free: 28.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/10.21, allocations: 0.9161 MB / 3.372 GB, free: 28.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03365/10.25, allocations: 18.35 MB / 3.39 GB, free: 16.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/10.25, allocations: 45.45 kB / 3.39 GB, free: 16.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 3.636e-06/10.25, allocations: 0 / 3.39 GB, free: 16.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.03237/10.28, allocations: 6.127 MB / 3.396 GB, free: 15.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1076/10.39, allocations: 42.82 MB / 3.438 GB, free: 25.87 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.001413/10.39, allocations: 0.7843 MB / 3.439 GB, free: 25.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/10.39, allocations: 40.67 kB / 3.439 GB, free: 25.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/10.39, allocations: 0.7153 MB / 3.439 GB, free: 25.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/10.39, allocations: 331.6 kB / 3.44 GB, free: 25.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/10.39, allocations: 31.83 kB / 3.44 GB, free: 25.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/10.39, allocations: 354.8 kB / 3.44 GB, free: 24.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009266/10.39, allocations: 485.8 kB / 3.44 GB, free: 24.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/10.39, allocations: 0.9782 MB / 3.441 GB, free: 24.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/10.39, allocations: 0.6103 MB / 3.442 GB, free: 24.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/10.39, allocations: 6.969 kB / 3.442 GB, free: 24.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003521/10.4, allocations: 1.778 MB / 3.444 GB, free: 23.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003038/10.4, allocations: 6.26 MB / 3.45 GB, free: 17.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/10.4, allocations: 19.31 kB / 3.45 GB, free: 17.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005125/10.4, allocations: 1.016 MB / 3.451 GB, free: 17.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/10.41, allocations: 313.1 kB / 3.451 GB, free: 17.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/10.41, allocations: 1.627 MB / 3.453 GB, free: 16.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/10.41, allocations: 133.3 kB / 3.453 GB, free: 16.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/10.41, allocations: 93 kB / 3.453 GB, free: 16.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/10.41, allocations: 3.906 kB / 3.453 GB, free: 16.21 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00431/10.41, allocations: 1.86 MB / 3.455 GB, free: 16.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/10.41, allocations: 15.41 kB / 3.455 GB, free: 16.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/10.42, allocations: 0.7104 MB / 3.455 GB, free: 16.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/10.42, allocations: 316.1 kB / 3.456 GB, free: 16.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/10.42, allocations: 1.587 MB / 3.457 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/10.42, allocations: 137.9 kB / 3.457 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/10.42, allocations: 92.75 kB / 3.458 GB, free: 14.97 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 () * Number of clocked 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.001191/10.42, allocations: 420.9 kB / 3.458 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/10.42, allocations: 121.2 kB / 3.458 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/10.43, allocations: 3.712 MB / 3.462 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00432/10.43, allocations: 3.18 MB / 3.465 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/10.43, allocations: 0 / 3.465 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/10.43, allocations: 11.78 kB / 3.465 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008597/10.44, allocations: 5.932 MB / 3.471 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/10.44, allocations: 3.656 kB / 3.471 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/10.44, allocations: 189 kB / 3.471 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004333/10.45, allocations: 1.642 MB / 3.472 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/10.45, allocations: 36.19 kB / 3.472 GB, free: 9.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/10.45, allocations: 2.401 MB / 3.475 GB, free: 7.387 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05691/10.51, allocations: 24.68 MB / 3.499 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3729/10.88, allocations: 3.943 MB / 3.503 GB, free: 61.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/10.88, allocations: 394.9 kB / 3.503 GB, free: 61.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/10.88, allocations: 20.45 kB / 3.503 GB, free: 61.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/10.88, allocations: 103.5 kB / 3.503 GB, free: 61.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/10.88, allocations: 79.81 kB / 3.503 GB, free: 61.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/10.88, allocations: 39.39 kB / 3.503 GB, free: 61.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001166/10.88, allocations: 0.6408 MB / 3.504 GB, free: 61.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.52e-07/10.88, allocations: 0 / 3.504 GB, free: 61.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01955/10.9, allocations: 3.995 MB / 3.508 GB, free: 61.11 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 () * Number of clocked 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.03234/10.94, allocations: 3.294 MB / 3.511 GB, free: 60.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006538/10.94, allocations: 2.511 MB / 3.514 GB, free: 60.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/10.94, allocations: 2.312 kB / 3.514 GB, free: 60.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/10.94, allocations: 1.185 MB / 3.515 GB, free: 60.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/10.95, allocations: 389 kB / 3.515 GB, free: 60.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1534/11.1, allocations: 79.07 MB / 3.592 GB, free: 56.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/11.1, allocations: 1.442 MB / 3.594 GB, free: 56.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002035/11.1, allocations: 0.7255 MB / 3.594 GB, free: 55.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/11.1, allocations: 123.3 kB / 3.595 GB, free: 55.95 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/11.1, allocations: 0 / 3.595 GB, free: 55.95 MB / 474.7 MB Notification: Performance of Templates: time 0.4824/11.59, allocations: 123.5 MB / 3.715 GB, free: 59.72 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)