Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001442/0.001442, allocations: 182.8 kB / 7.652 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.648/1.648, allocations: 194.3 MB / 202.4 MB, free: 8.473 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001843/0.001843, allocations: 116 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2277/0.2277, allocations: 39.95 MB / 332.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.424e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.777/5.884, allocations: 2.627 GB / 3.065 GB, free: 85.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/5.884, allocations: 84.89 kB / 3.065 GB, free: 85.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36/7.244, allocations: 451.1 MB / 3.506 GB, free: 25.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/7.244, allocations: 0 / 3.506 GB, free: 25.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001213/7.244, allocations: 32.66 kB / 3.506 GB, free: 25.39 MB / 490.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.007702/7.252, allocations: 2.297 MB / 3.508 GB, free: 23.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/7.252, allocations: 8.031 kB / 3.508 GB, free: 23.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/7.255, allocations: 441.7 kB / 3.509 GB, free: 22.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/7.257, allocations: 1.003 MB / 3.51 GB, free: 21.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/7.257, allocations: 47.95 kB / 3.51 GB, free: 21.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/7.257, allocations: 83.91 kB / 3.51 GB, free: 21.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001664/7.259, allocations: 0.9268 MB / 3.511 GB, free: 20.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/7.261, allocations: 1.208 MB / 3.512 GB, free: 19.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/7.261, allocations: 3.984 kB / 3.512 GB, free: 19.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/7.261, allocations: 4 kB / 3.512 GB, free: 19.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/7.261, allocations: 46.31 kB / 3.512 GB, free: 19.15 MB / 490.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.4452/7.706, allocations: 71.44 MB / 3.582 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009616/7.707, allocations: 494.8 kB / 3.582 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/7.707, allocations: 254.9 kB / 3.582 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03113/7.739, allocations: 17.01 MB / 3.599 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/7.739, allocations: 44.94 kB / 3.599 GB, free: 21.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 3.035e-06/7.739, allocations: 0 / 3.599 GB, free: 21.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.0272/7.766, allocations: 4.71 MB / 3.604 GB, free: 20.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/7.766, allocations: 144.8 kB / 3.604 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/7.768, allocations: 0.7148 MB / 3.604 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/7.768, allocations: 25.7 kB / 3.604 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/7.769, allocations: 0.7346 MB / 3.605 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/7.769, allocations: 272.9 kB / 3.605 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/7.769, allocations: 0 / 3.605 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001707/7.769, allocations: 362.5 kB / 3.606 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/7.77, allocations: 364.4 kB / 3.606 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007615/7.771, allocations: 0.8412 MB / 3.607 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/7.772, allocations: 0.6027 MB / 3.607 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/7.772, allocations: 6.438 kB / 3.607 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00332/7.776, allocations: 1.528 MB / 3.609 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002651/7.778, allocations: 6.359 MB / 3.615 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/7.778, allocations: 16.41 kB / 3.615 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/7.781, allocations: 0.5628 MB / 3.616 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009021/7.782, allocations: 300 kB / 3.616 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/7.784, allocations: 1.793 MB / 3.618 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/7.786, allocations: 119.8 kB / 3.618 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/7.786, allocations: 83.78 kB / 3.618 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/7.786, allocations: 2.938 kB / 3.618 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003006/7.789, allocations: 1.233 MB / 3.619 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-05/7.789, allocations: 18.06 kB / 3.619 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/7.791, allocations: 383.9 kB / 3.62 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008767/7.792, allocations: 296.4 kB / 3.62 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/7.793, allocations: 1.502 MB / 3.621 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/7.795, allocations: 97.05 kB / 3.621 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/7.795, allocations: 74.2 kB / 3.621 GB, free: 25.41 MB / 0.5105 GB 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: 73 * 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 (142): * Single equations (assignments): 140 * 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.0004493/7.795, allocations: 146.2 kB / 3.622 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/7.795, allocations: 117 kB / 3.622 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/7.8, allocations: 2.702 MB / 3.624 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/7.8, allocations: 28.83 kB / 3.624 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/7.8, allocations: 1 kB / 3.624 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/7.8, allocations: 3.562 kB / 3.624 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006257/7.806, allocations: 4.281 MB / 3.629 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/7.806, allocations: 3.75 kB / 3.629 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/7.806, allocations: 114.1 kB / 3.629 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/7.809, allocations: 1.507 MB / 3.63 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/7.809, allocations: 14.78 kB / 3.63 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/7.812, allocations: 2.656 MB / 3.633 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1311/7.943, allocations: 56.93 MB / 3.688 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004363/7.948, allocations: 2.915 MB / 3.691 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008694/7.948, allocations: 344.2 kB / 3.692 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/7.949, allocations: 6.719 kB / 3.692 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/7.95, allocations: 77.66 kB / 3.692 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/7.95, allocations: 64.88 kB / 3.692 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/7.95, allocations: 32.38 kB / 3.692 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001093/7.951, allocations: 0.6247 MB / 3.692 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/7.951, allocations: 0 / 3.692 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01958/7.971, allocations: 3.881 MB / 3.696 GB, free: 1.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.03253/8.003, allocations: 3.387 MB / 3.699 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004717/8.008, allocations: 1.809 MB / 3.701 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/8.008, allocations: 0 / 3.701 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/8.01, allocations: 0.7589 MB / 3.702 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/8.012, allocations: 342.9 kB / 3.702 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/8.018, allocations: 2.675 MB / 3.705 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/8.019, allocations: 1.352 MB / 3.706 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002719/8.022, allocations: 0.891 MB / 3.707 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/8.023, allocations: 98.47 kB / 3.707 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of SimCode: time 1.963e-06/8.023, allocations: 3.938 kB / 3.707 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of Templates: time 0.5076/8.53, allocations: 116.9 MB / 3.821 GB, free: 74.41 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1)