Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01093/0.01093, allocations: 177.1 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.845/1.845, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.001788/0.001788, allocations: 124.6 kB / 255.6 MB, free: 11.2 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.2879/0.2879, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004215, allocations: 20.08 kB / 406.2 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1467, allocations: 54.86 MB / 461 MB, free: 3.391 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.414/7.561, allocations: 2.629 GB / 3.079 GB, free: 115 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004217/7.562, allocations: 90.11 kB / 3.079 GB, free: 115 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.876/9.437, allocations: 457.6 MB / 3.526 GB, free: 35 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.997e-06/9.437, allocations: 0 / 3.526 GB, free: 35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00025/9.438, allocations: 32 kB / 3.526 GB, free: 34.96 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.0152/9.453, allocations: 2.482 MB / 3.528 GB, free: 32.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/9.453, allocations: 8.031 kB / 3.528 GB, free: 32.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/9.457, allocations: 440.7 kB / 3.529 GB, free: 32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/9.461, allocations: 1.015 MB / 3.53 GB, free: 30.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/9.462, allocations: 110.6 kB / 3.53 GB, free: 30.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005936/9.462, allocations: 131.9 kB / 3.53 GB, free: 30.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005242/9.467, allocations: 1.678 MB / 3.532 GB, free: 28.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.681e-05/9.468, allocations: 7.984 kB / 3.532 GB, free: 28.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/9.468, allocations: 62.73 kB / 3.532 GB, free: 28.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/9.468, allocations: 46.36 kB / 3.532 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/9.471, allocations: 1.375 MB / 3.533 GB, free: 27.44 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.01051/9.482, allocations: 7.647 MB / 3.54 GB, free: 19.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/9.484, allocations: 0.9131 MB / 3.541 GB, free: 18.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03199/9.516, allocations: 18.37 MB / 3.559 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.221e-05/9.516, allocations: 43.22 kB / 3.559 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=71): time 4.227e-06/9.517, allocations: 0 / 3.559 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.03409/9.551, allocations: 6.138 MB / 3.565 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5148/10.07, allocations: 42.97 MB / 3.607 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/10.07, allocations: 0.7726 MB / 3.608 GB, free: 52.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/10.07, allocations: 42.73 kB / 3.608 GB, free: 52.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/10.07, allocations: 0.7147 MB / 3.609 GB, free: 52.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/10.07, allocations: 323.3 kB / 3.609 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/10.07, allocations: 30.25 kB / 3.609 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/10.07, allocations: 358.4 kB / 3.609 GB, free: 52.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/10.07, allocations: 489.2 kB / 3.61 GB, free: 52.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/10.07, allocations: 0.9737 MB / 3.611 GB, free: 51.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/10.07, allocations: 0.6115 MB / 3.611 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/10.07, allocations: 6.516 kB / 3.611 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003437/10.08, allocations: 1.791 MB / 3.613 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001911/10.08, allocations: 6.268 MB / 3.619 GB, free: 44.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/10.08, allocations: 13.38 kB / 3.619 GB, free: 44.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005108/10.08, allocations: 1.013 MB / 3.62 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/10.08, allocations: 313.6 kB / 3.621 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/10.09, allocations: 1.626 MB / 3.622 GB, free: 43.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/10.09, allocations: 140 kB / 3.622 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/10.09, allocations: 85.41 kB / 3.622 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/10.09, allocations: 3.844 kB / 3.622 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004316/10.09, allocations: 1.871 MB / 3.624 GB, free: 43.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/10.09, allocations: 15.81 kB / 3.624 GB, free: 43.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/10.1, allocations: 0.7121 MB / 3.625 GB, free: 43.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/10.1, allocations: 309.2 kB / 3.625 GB, free: 43.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/10.1, allocations: 1.604 MB / 3.627 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/10.1, allocations: 125.9 kB / 3.627 GB, free: 42.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/10.1, allocations: 86.59 kB / 3.627 GB, free: 42.58 MB / 0.4948 GB 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.001058/10.1, allocations: 417.7 kB / 3.627 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/10.1, allocations: 121.4 kB / 3.628 GB, free: 42.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005008/10.11, allocations: 3.723 MB / 3.631 GB, free: 42.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004002/10.11, allocations: 3.178 MB / 3.634 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/10.11, allocations: 0 / 3.634 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/10.11, allocations: 5.906 kB / 3.634 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009091/10.12, allocations: 5.932 MB / 3.64 GB, free: 41.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/10.12, allocations: 3.75 kB / 3.64 GB, free: 41.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/10.12, allocations: 178.2 kB / 3.64 GB, free: 41.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004565/10.13, allocations: 1.654 MB / 3.642 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/10.13, allocations: 34.27 kB / 3.642 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/10.13, allocations: 2.4 MB / 3.644 GB, free: 40.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05042/10.18, allocations: 24.65 MB / 3.668 GB, free: 35.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00567/10.18, allocations: 3.92 MB / 3.672 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/10.19, allocations: 394.8 kB / 3.673 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/10.19, allocations: 25.03 kB / 3.673 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008194/10.19, allocations: 104.6 kB / 3.673 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/10.19, allocations: 79.75 kB / 3.673 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/10.19, allocations: 37.03 kB / 3.673 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001113/10.19, allocations: 0.6406 MB / 3.673 GB, free: 34.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/10.19, allocations: 1.203 kB / 3.673 GB, free: 34.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02153/10.21, allocations: 4.023 MB / 3.677 GB, free: 34.27 MB / 0.4948 GB 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.03377/10.24, allocations: 3.314 MB / 3.681 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008447/10.25, allocations: 2.517 MB / 3.683 GB, free: 33.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/10.25, allocations: 6.312 kB / 3.683 GB, free: 33.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002474/10.25, allocations: 1.185 MB / 3.684 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/10.26, allocations: 390 kB / 3.685 GB, free: 33.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1463/10.4, allocations: 80.47 MB / 3.763 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/10.41, allocations: 1.442 MB / 3.765 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002072/10.41, allocations: 0.7225 MB / 3.765 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/10.41, allocations: 118.3 kB / 3.765 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/10.41, allocations: 0 / 3.765 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of Templates: time 0.5063/10.91, allocations: 124.1 MB / 3.887 GB, free: 42.27 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1)