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.002195/0.002195, allocations: 182.5 kB / 12.74 MB, free: 2.582 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.666/1.666, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001696/0.001696, allocations: 106.8 kB / 252.6 MB, free: 4.824 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.2023/0.2023, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.186e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.971/7.082, allocations: 2.629 GB / 3.073 GB, free: 32.31 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/7.082, allocations: 84.95 kB / 3.073 GB, free: 32.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.781/8.863, allocations: 456.4 MB / 3.519 GB, free: 51.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.542e-06/8.863, allocations: 0 / 3.519 GB, free: 51.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001026/8.863, allocations: 35.81 kB / 3.519 GB, free: 51.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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.008285/8.871, allocations: 2.323 MB / 3.521 GB, free: 50.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/8.871, allocations: 12.33 kB / 3.521 GB, free: 50.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/8.874, allocations: 453 kB / 3.522 GB, free: 50.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/8.876, allocations: 0.9993 MB / 3.522 GB, free: 49.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/8.877, allocations: 104.3 kB / 3.523 GB, free: 49.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/8.877, allocations: 136 kB / 3.523 GB, free: 49.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/8.88, allocations: 1.646 MB / 3.524 GB, free: 49.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/8.88, allocations: 9.719 kB / 3.524 GB, free: 49.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/8.88, allocations: 53.88 kB / 3.524 GB, free: 49.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/8.88, allocations: 55.67 kB / 3.524 GB, free: 49.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/8.882, allocations: 1.262 MB / 3.526 GB, free: 49.5 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.007981/8.89, allocations: 7.644 MB / 3.533 GB, free: 45.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/8.892, allocations: 0.8561 MB / 3.534 GB, free: 45.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/8.893, allocations: 308.4 kB / 3.534 GB, free: 45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0305/8.923, allocations: 18.44 MB / 3.552 GB, free: 33.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/8.923, allocations: 42.22 kB / 3.552 GB, free: 33.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 2.284e-06/8.923, allocations: 3.25 kB / 3.552 GB, free: 33.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02827/8.952, allocations: 5.391 MB / 3.558 GB, free: 32.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1064/9.058, allocations: 42.85 MB / 3.599 GB, free: 26.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/9.059, allocations: 0.7656 MB / 3.6 GB, free: 26.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002189/9.06, allocations: 39.08 kB / 3.6 GB, free: 26.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/9.06, allocations: 0.7091 MB / 3.601 GB, free: 26.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/9.06, allocations: 329.1 kB / 3.601 GB, free: 25.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/9.06, allocations: 25.84 kB / 3.601 GB, free: 25.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/9.06, allocations: 361.3 kB / 3.602 GB, free: 25.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/9.061, allocations: 408.3 kB / 3.602 GB, free: 25.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/9.062, allocations: 0.8954 MB / 3.603 GB, free: 25.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/9.063, allocations: 0.5309 MB / 3.603 GB, free: 25.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/9.063, allocations: 7.375 kB / 3.603 GB, free: 25.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002778/9.066, allocations: 1.585 MB / 3.605 GB, free: 24.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001522/9.067, allocations: 6.277 MB / 3.611 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/9.067, allocations: 13.88 kB / 3.611 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00464/9.072, allocations: 0.9326 MB / 3.612 GB, free: 18.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/9.073, allocations: 315.6 kB / 3.612 GB, free: 18.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/9.074, allocations: 1.546 MB / 3.614 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/9.076, allocations: 141.3 kB / 3.614 GB, free: 17.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/9.076, allocations: 84.52 kB / 3.614 GB, free: 17.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/9.076, allocations: 5.969 kB / 3.614 GB, free: 17.13 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003558/9.08, allocations: 1.67 MB / 3.616 GB, free: 17.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/9.08, allocations: 14.91 kB / 3.616 GB, free: 17.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/9.083, allocations: 0.6325 MB / 3.616 GB, free: 16.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/9.084, allocations: 310.8 kB / 3.617 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/9.085, allocations: 1.519 MB / 3.618 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/9.086, allocations: 127.2 kB / 3.618 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/9.087, allocations: 82.91 kB / 3.618 GB, free: 15.93 MB / 490.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 () * 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.000384/9.087, allocations: 193.6 kB / 3.618 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/9.087, allocations: 125.2 kB / 3.619 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/9.092, allocations: 3.836 MB / 3.622 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003811/9.096, allocations: 3.29 MB / 3.626 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/9.096, allocations: 3.953 kB / 3.626 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/9.096, allocations: 6.703 kB / 3.626 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007523/9.104, allocations: 5.835 MB / 3.631 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/9.104, allocations: 4.094 kB / 3.631 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/9.104, allocations: 179.6 kB / 3.631 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003913/9.108, allocations: 1.763 MB / 3.633 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-05/9.108, allocations: 37.05 kB / 3.633 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/9.111, allocations: 2.405 MB / 3.636 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02883/9.139, allocations: 17.95 MB / 3.653 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005459/9.145, allocations: 3.8 MB / 3.657 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/9.146, allocations: 389 kB / 3.657 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/9.146, allocations: 24 kB / 3.657 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/9.147, allocations: 108.9 kB / 3.657 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/9.147, allocations: 74.14 kB / 3.657 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/9.147, allocations: 42.84 kB / 3.657 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009524/9.148, allocations: 0.6304 MB / 3.658 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/9.148, allocations: 0 / 3.658 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0154/9.164, allocations: 4.114 MB / 3.662 GB, free: 14.48 MB / 0.5105 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 () * 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.02065/9.184, allocations: 3.312 MB / 3.665 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004486/9.189, allocations: 2.313 MB / 3.667 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/9.189, allocations: 0 / 3.667 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/9.19, allocations: 1.102 MB / 3.669 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/9.193, allocations: 396.4 kB / 3.669 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.434/9.627, allocations: 78.83 MB / 3.746 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/9.627, allocations: 1.445 MB / 3.747 GB, free: 69.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00195/9.629, allocations: 0.7599 MB / 3.748 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/9.63, allocations: 111 kB / 3.748 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/9.63, allocations: 0 / 3.748 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.4696/10.1, allocations: 128.3 MB / 3.873 GB, free: 86.8 MB / 0.5261 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)