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.001763/0.001763, allocations: 181.3 kB / 12.74 MB, free: 2.578 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.746/1.746, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001642/0.001642, allocations: 106.6 kB / 252.6 MB, free: 4.777 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.2228/0.2228, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.456e-05/4.458e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 54.86 MB / 455.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.522/6.645, allocations: 2.628 GB / 3.073 GB, free: 38.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/6.645, allocations: 85.08 kB / 3.073 GB, free: 38.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722/8.367, allocations: 455.6 MB / 3.518 GB, free: 51.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.744e-06/8.367, allocations: 0 / 3.518 GB, free: 51.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001253/8.367, allocations: 34.5 kB / 3.518 GB, free: 51.97 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.007467/8.375, allocations: 2.298 MB / 3.52 GB, free: 50.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/8.375, allocations: 9.281 kB / 3.52 GB, free: 50.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/8.378, allocations: 440.4 kB / 3.52 GB, free: 50.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/8.38, allocations: 0.998 MB / 3.521 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/8.381, allocations: 100.6 kB / 3.521 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004574/8.381, allocations: 131.5 kB / 3.522 GB, free: 50.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/8.385, allocations: 1.63 MB / 3.523 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.519e-05/8.385, allocations: 8.062 kB / 3.523 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/8.386, allocations: 54.16 kB / 3.523 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/8.386, allocations: 47 kB / 3.523 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/8.389, allocations: 1.242 MB / 3.524 GB, free: 50.11 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.007872/8.396, allocations: 7.668 MB / 3.532 GB, free: 45.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/8.398, allocations: 0.8496 MB / 3.533 GB, free: 45.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/8.399, allocations: 299.2 kB / 3.533 GB, free: 45.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03045/8.429, allocations: 18.43 MB / 3.551 GB, free: 34.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/8.429, allocations: 48.98 kB / 3.551 GB, free: 34.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 2.564e-06/8.429, allocations: 0 / 3.551 GB, free: 34.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.03084/8.46, allocations: 5.727 MB / 3.557 GB, free: 33.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1098/8.57, allocations: 43.26 MB / 3.599 GB, free: 27.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/8.571, allocations: 0.7734 MB / 3.6 GB, free: 27.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/8.572, allocations: 44.3 kB / 3.6 GB, free: 27.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/8.572, allocations: 0.7036 MB / 3.6 GB, free: 26.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/8.572, allocations: 324.6 kB / 3.601 GB, free: 26.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/8.572, allocations: 33.28 kB / 3.601 GB, free: 26.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/8.573, allocations: 354.2 kB / 3.601 GB, free: 26.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/8.573, allocations: 394.7 kB / 3.601 GB, free: 26.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/8.574, allocations: 0.8853 MB / 3.602 GB, free: 25.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008836/8.575, allocations: 0.5245 MB / 3.603 GB, free: 25.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/8.575, allocations: 3.938 kB / 3.603 GB, free: 25.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002711/8.578, allocations: 1.58 MB / 3.604 GB, free: 25.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001125/8.579, allocations: 6.356 MB / 3.611 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/8.579, allocations: 17 kB / 3.611 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004555/8.583, allocations: 0.9721 MB / 3.612 GB, free: 18.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009722/8.584, allocations: 307.2 kB / 3.612 GB, free: 18.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/8.586, allocations: 1.642 MB / 3.613 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/8.588, allocations: 126 kB / 3.614 GB, free: 17.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/8.588, allocations: 79.34 kB / 3.614 GB, free: 17.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/8.588, allocations: 3.656 kB / 3.614 GB, free: 17.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003287/8.591, allocations: 1.607 MB / 3.615 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.734e-05/8.591, allocations: 18.53 kB / 3.615 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/8.594, allocations: 0.6577 MB / 3.616 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/8.595, allocations: 301.3 kB / 3.616 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/8.597, allocations: 1.615 MB / 3.618 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/8.598, allocations: 113.9 kB / 3.618 GB, free: 16.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/8.598, allocations: 73.59 kB / 3.618 GB, free: 16.4 MB / 490.7 MB 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 () * 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.0003095/8.598, allocations: 204.7 kB / 3.618 GB, free: 16.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/8.599, allocations: 112.9 kB / 3.618 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005574/8.604, allocations: 3.964 MB / 3.622 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/8.604, allocations: 41.36 kB / 3.622 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/8.604, allocations: 0 / 3.622 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/8.604, allocations: 5.625 kB / 3.622 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008297/8.613, allocations: 5.843 MB / 3.628 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/8.613, allocations: 0 / 3.628 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/8.613, allocations: 155.5 kB / 3.628 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00428/8.617, allocations: 1.824 MB / 3.63 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.923e-05/8.618, allocations: 27.08 kB / 3.63 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/8.62, allocations: 2.442 MB / 3.632 GB, free: 26.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02796/8.648, allocations: 18.4 MB / 3.65 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/8.654, allocations: 3.808 MB / 3.654 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009575/8.655, allocations: 385.2 kB / 3.654 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004915/8.656, allocations: 24 kB / 3.654 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/8.657, allocations: 92.44 kB / 3.654 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/8.657, allocations: 79.83 kB / 3.654 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/8.657, allocations: 42.28 kB / 3.654 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001185/8.658, allocations: 0.6584 MB / 3.655 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/8.658, allocations: 0.5625 kB / 3.655 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01662/8.675, allocations: 3.991 MB / 3.659 GB, free: 5.016 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 () * 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.02782/8.703, allocations: 3.296 MB / 3.662 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00566/8.708, allocations: 2.239 MB / 3.664 GB, free: 388 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/8.709, allocations: 4 kB / 3.664 GB, free: 384 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00373/8.712, allocations: 1.203 MB / 3.666 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/8.715, allocations: 389.7 kB / 3.666 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.449/9.164, allocations: 78.61 MB / 3.743 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/9.165, allocations: 1.436 MB / 3.744 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002246/9.167, allocations: 0.7879 MB / 3.745 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/9.168, allocations: 103.3 kB / 3.745 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/9.168, allocations: 3.594 kB / 3.745 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.1653/9.333, allocations: 128.8 MB / 3.871 GB, free: 15.8 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)