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.01397/0.01396, allocations: 174 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.947/1.947, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001791/0.001791, allocations: 112.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2168/0.2168, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.000423, allocations: 14.31 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.457/7.598, allocations: 2.628 GB / 3.078 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/7.598, allocations: 87.77 kB / 3.079 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.751/9.35, allocations: 456.8 MB / 3.525 GB, free: 35.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.236e-06/9.35, allocations: 0 / 3.525 GB, free: 35.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001184/9.35, allocations: 35.91 kB / 3.525 GB, free: 35.63 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.01106/9.361, allocations: 2.455 MB / 3.527 GB, free: 33.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/9.361, allocations: 8.031 kB / 3.527 GB, free: 33.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/9.364, allocations: 449.5 kB / 3.528 GB, free: 32.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/9.367, allocations: 1.011 MB / 3.529 GB, free: 31.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/9.367, allocations: 102.6 kB / 3.529 GB, free: 31.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/9.367, allocations: 128 kB / 3.529 GB, free: 31.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/9.37, allocations: 1.65 MB / 3.53 GB, free: 29.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/9.37, allocations: 11.92 kB / 3.53 GB, free: 29.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/9.371, allocations: 60 kB / 3.53 GB, free: 29.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/9.371, allocations: 46.31 kB / 3.53 GB, free: 29.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/9.374, allocations: 1.352 MB / 3.532 GB, free: 28.19 MB / 490.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.008636/9.382, allocations: 7.671 MB / 3.539 GB, free: 20 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/9.384, allocations: 0.9041 MB / 3.54 GB, free: 19.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03148/9.416, allocations: 18.37 MB / 3.558 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.256e-05/9.416, allocations: 43.12 kB / 3.558 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=68): time 2.715e-06/9.416, allocations: 0 / 3.558 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.03847/9.454, allocations: 6.493 MB / 3.564 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5008/9.955, allocations: 43.44 MB / 3.607 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/9.957, allocations: 0.7805 MB / 3.608 GB, free: 53.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/9.957, allocations: 39.52 kB / 3.608 GB, free: 53.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/9.958, allocations: 0.7045 MB / 3.608 GB, free: 53.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/9.958, allocations: 320.3 kB / 3.609 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/9.958, allocations: 28.25 kB / 3.609 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001302/9.958, allocations: 356.7 kB / 3.609 GB, free: 52.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/9.959, allocations: 472.2 kB / 3.609 GB, free: 52.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/9.96, allocations: 0.9693 MB / 3.61 GB, free: 52.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/9.962, allocations: 0.5963 MB / 3.611 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/9.962, allocations: 5.594 kB / 3.611 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003821/9.966, allocations: 1.777 MB / 3.613 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001884/9.967, allocations: 6.358 MB / 3.619 GB, free: 45.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/9.967, allocations: 14.38 kB / 3.619 GB, free: 45.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005264/9.973, allocations: 1.064 MB / 3.62 GB, free: 45.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/9.974, allocations: 304.2 kB / 3.62 GB, free: 45.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/9.977, allocations: 1.735 MB / 3.622 GB, free: 44.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/9.978, allocations: 118.8 kB / 3.622 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/9.979, allocations: 77.16 kB / 3.622 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/9.979, allocations: 3.938 kB / 3.622 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004575/9.983, allocations: 1.801 MB / 3.624 GB, free: 44.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.099e-05/9.983, allocations: 18.75 kB / 3.624 GB, free: 44.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003237/9.987, allocations: 0.7417 MB / 3.625 GB, free: 44.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/9.988, allocations: 300.4 kB / 3.625 GB, free: 44.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/9.99, allocations: 1.707 MB / 3.627 GB, free: 43.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/9.992, allocations: 113.1 kB / 3.627 GB, free: 43.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/9.992, allocations: 75.38 kB / 3.627 GB, free: 43.15 MB / 0.4948 GB 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.001071/9.993, allocations: 422.7 kB / 3.627 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/9.993, allocations: 120.4 kB / 3.627 GB, free: 42.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006128/9.999, allocations: 3.855 MB / 3.631 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/9.999, allocations: 38.94 kB / 3.631 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/9.999, allocations: 0 / 3.631 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/9.999, allocations: 3.938 kB / 3.631 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/10.01, allocations: 5.935 MB / 3.637 GB, free: 42.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/10.01, allocations: 3.938 kB / 3.637 GB, free: 42.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/10.01, allocations: 159.3 kB / 3.637 GB, free: 42.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004662/10.01, allocations: 1.713 MB / 3.639 GB, free: 41.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/10.01, allocations: 28.17 kB / 3.639 GB, free: 41.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/10.02, allocations: 2.443 MB / 3.641 GB, free: 40.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05231/10.07, allocations: 25.13 MB / 3.666 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00751/10.08, allocations: 3.942 MB / 3.67 GB, free: 35.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/10.08, allocations: 387.1 kB / 3.67 GB, free: 35.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/10.08, allocations: 22.47 kB / 3.67 GB, free: 35.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/10.08, allocations: 97.69 kB / 3.67 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/10.08, allocations: 75.12 kB / 3.67 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/10.08, allocations: 38.48 kB / 3.67 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001004/10.08, allocations: 0.6755 MB / 3.671 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/10.08, allocations: 0 / 3.671 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02119/10.1, allocations: 3.978 MB / 3.675 GB, free: 34.94 MB / 0.4948 GB 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.03318/10.13, allocations: 3.294 MB / 3.678 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006435/10.14, allocations: 2.451 MB / 3.68 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/10.14, allocations: 0 / 3.68 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002219/10.14, allocations: 1.129 MB / 3.681 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/10.15, allocations: 398.7 kB / 3.682 GB, free: 34.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1468/10.29, allocations: 80.44 MB / 3.76 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/10.29, allocations: 1.431 MB / 3.762 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002153/10.3, allocations: 0.7494 MB / 3.763 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/10.3, allocations: 113.8 kB / 3.763 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/10.3, allocations: 4 kB / 3.763 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of Templates: time 0.5105/10.81, allocations: 124.6 MB / 3.884 GB, free: 45.39 MB / 0.5105 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)