Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.0009811, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4244/0.4244, allocations: 38.03 MB / 308.4 MB, free: 10.35 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005599/0.00056, allocations: 19.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1306, allocations: 57.51 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.3006/0.4313, allocations: 39.49 MB / 473.4 MB, free: 33.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02314/0.4545, allocations: 18.76 MB / 492.2 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.4568, allocations: 40.97 kB / 492.2 MB, free: 21.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.459, allocations: 0.6451 MB / 492.9 MB, free: 20.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01531/0.4743, allocations: 4.437 MB / 497.3 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01198/0.4863, allocations: 3.038 MB / 0.4886 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00538/0.4917, allocations: 1.736 MB / 0.4903 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/0.4941, allocations: 0.8822 MB / 0.4912 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003031/0.4972, allocations: 0.9305 MB / 0.4921 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01686/0.5141, allocations: 6.157 MB / 0.4981 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009489/0.5151, allocations: 73.19 kB / 0.4982 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02716/0.5423, allocations: 7.618 MB / 0.5056 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007125/0.543, allocations: 271.1 kB / 0.5059 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.5445, allocations: 342.5 kB / 0.5062 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.558, allocations: 4.53 MB / 0.5106 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5581, allocations: 0 / 0.5106 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5581, allocations: 0 / 0.5106 GB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.924e-05/0.5582, allocations: 0 / 0.5106 GB, free: 10.62 MB / 382.1 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.007756/0.5659, allocations: 2.179 MB / 0.5127 GB, free: 9.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.566, allocations: 11.19 kB / 0.5127 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.5691, allocations: 398.7 kB / 0.5131 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.5711, allocations: 0.9016 MB / 0.514 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.5713, allocations: 100.6 kB / 0.5141 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.5715, allocations: 129.1 kB / 0.5142 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003805/0.5753, allocations: 1.657 MB / 0.5158 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.5754, allocations: 10.81 kB / 0.5159 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.5755, allocations: 59.44 kB / 0.5159 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.5756, allocations: 44 kB / 0.516 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.5787, allocations: 1.353 MB / 0.5173 GB, free: 6.352 MB / 382.1 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.01135/0.59, allocations: 7.713 MB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.5934, allocations: 0.9827 MB / 0.5258 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05878/0.6522, allocations: 24.52 MB / 0.5497 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.6523, allocations: 43.08 kB / 0.5498 GB, free: 2.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=68): time 3.427e-06/0.6523, allocations: 4 kB / 0.5498 GB, free: 2.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.0117/0.664, allocations: 3.232 MB / 0.5529 GB, free: 15.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.6641, allocations: 115.4 kB / 0.553 GB, free: 15.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.666, allocations: 0.9645 MB / 0.554 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.509e-05/0.6661, allocations: 45.69 kB / 0.554 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.6667, allocations: 0.6888 MB / 0.5547 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.667, allocations: 248.4 kB / 0.5549 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.6671, allocations: 24 kB / 0.5549 GB, free: 13.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6672, allocations: 357.7 kB / 0.5553 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008703/0.6681, allocations: 350.4 kB / 0.5556 GB, free: 12.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.6695, allocations: 0.7872 MB / 0.5564 GB, free: 11.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6706, allocations: 462.9 kB / 0.5568 GB, free: 11.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.6706, allocations: 4 kB / 0.5568 GB, free: 11.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003016/0.6736, allocations: 1.345 MB / 0.5581 GB, free: 9.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003438/0.6771, allocations: 5.742 MB / 0.5637 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.332e-05/0.6772, allocations: 19.94 kB / 0.5638 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.6793, allocations: 380.5 kB / 0.5641 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009268/0.6802, allocations: 264.1 kB / 0.5644 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.6816, allocations: 0.8566 MB / 0.5652 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.6831, allocations: 99.83 kB / 0.5653 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.6833, allocations: 63.98 kB / 0.5654 GB, free: 2.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6833, allocations: 4 kB / 0.5654 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003142/0.6865, allocations: 1.258 MB / 0.5666 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.682e-05/0.6865, allocations: 16 kB / 0.5666 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.6876, allocations: 232.9 kB / 0.5668 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009182/0.6886, allocations: 271.6 kB / 0.5671 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.6897, allocations: 0.8059 MB / 0.5679 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.691, allocations: 91.91 kB / 0.568 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.6912, allocations: 63.98 kB / 0.568 GB, free: 15.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (127): * Single equations (assignments): 126 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008949/0.6921, allocations: 404.6 kB / 0.5684 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.6924, allocations: 114.6 kB / 0.5685 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0052/0.6976, allocations: 3.177 MB / 0.5716 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/0.6977, allocations: 39.94 kB / 0.5717 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6977, allocations: 0 / 0.5717 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.6977, allocations: 11.94 kB / 0.5717 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007619/0.7053, allocations: 4.687 MB / 0.5763 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.7054, allocations: 0 / 0.5763 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/0.706, allocations: 156 kB / 0.5764 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/0.7084, allocations: 1.066 MB / 0.5775 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.7085, allocations: 23.98 kB / 0.5775 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.7103, allocations: 1.489 MB / 0.5789 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7103, allocations: 0 / 0.5789 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/0.7152, allocations: 3.139 MB / 0.582 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.7163, allocations: 430.2 kB / 0.5824 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/0.7167, allocations: 16 kB / 0.5824 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.7177, allocations: 83.78 kB / 0.5825 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.7179, allocations: 80.44 kB / 0.5826 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.718, allocations: 31.98 kB / 0.5826 GB, free: 68 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001498/0.7195, allocations: 0.8399 MB / 0.5834 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7195, allocations: 0 / 0.5834 GB, free: 15.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008054/0.7276, allocations: 1.574 MB / 0.585 GB, free: 13.65 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (65): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/0.7391, allocations: 1.373 MB / 0.5863 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00537/0.7445, allocations: 1.8 MB / 0.5881 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.7446, allocations: 0.6875 kB / 0.5881 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.7462, allocations: 0.8478 MB / 0.5889 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.7494, allocations: 456.7 kB / 0.5893 GB, free: 9.188 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007553/0.757, allocations: 4.314 MB / 0.5935 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.7586, allocations: 1.393 MB / 0.5949 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002253/0.7608, allocations: 0.7891 MB / 0.5957 GB, free: 2.605 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.7612, allocations: 91.42 kB / 0.5958 GB, free: 2.516 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7612, allocations: 0 / 0.5958 GB, free: 2.516 MB / 462.1 MB Notification: Performance of Templates: time 0.3047/1.066, allocations: 54.25 MB / 0.6487 GB, free: 148.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) Environment - environmentSimulation: