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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008896, allocations: 99.7 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.000962/0.0009621, 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.28/1.28, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2919/0.2919, allocations: 40 MB / 310.4 MB, free: 9.953 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.2. 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.0005716/0.0005717, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1002, allocations: 57.95 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.2108/0.311, allocations: 39.5 MB / 476.3 MB, free: 31.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01957/0.3306, allocations: 18.74 MB / 495 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.3323, allocations: 38.75 kB / 495 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.3343, allocations: 0.6443 MB / 495.7 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.3458, allocations: 4.439 MB / 0.4884 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00769/0.3535, allocations: 3.047 MB / 0.4914 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.3562, allocations: 1.726 MB / 0.4931 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.3574, allocations: 0.8867 MB / 0.4939 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.3588, allocations: 0.938 MB / 0.4948 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.3693, allocations: 6.15 MB / 0.5009 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003366/0.3697, allocations: 72.88 kB / 0.5009 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/0.385, allocations: 7.618 MB / 0.5084 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.3854, allocations: 277.7 kB / 0.5086 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000598/0.386, allocations: 338.5 kB / 0.509 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009294/0.3953, allocations: 4.534 MB / 0.5134 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3954, allocations: 0 / 0.5134 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3954, allocations: 0 / 0.5134 GB, free: 7.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.516e-05/0.3954, allocations: 0.8438 kB / 0.5134 GB, free: 7.395 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.005561/0.401, allocations: 2.177 MB / 0.5155 GB, free: 5.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.401, allocations: 9.469 kB / 0.5155 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.4034, allocations: 409.8 kB / 0.5159 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.4048, allocations: 0.8918 MB / 0.5168 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.4049, allocations: 100.8 kB / 0.5169 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.405, allocations: 144.8 kB / 0.517 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/0.4081, allocations: 1.653 MB / 0.5186 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.4082, allocations: 3.406 kB / 0.5186 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.4083, allocations: 56.91 kB / 0.5187 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.4083, allocations: 44.78 kB / 0.5187 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.4111, allocations: 1.354 MB / 0.52 GB, free: 3.121 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.008346/0.4195, allocations: 7.717 MB / 0.5276 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.4221, allocations: 1.001 MB / 0.5286 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0463/0.4684, allocations: 24.5 MB / 0.5525 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.4685, allocations: 43.12 kB / 0.5525 GB, free: 14.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=68): time 2.495e-06/0.4685, allocations: 0 / 0.5525 GB, free: 14.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.009457/0.478, allocations: 3.221 MB / 0.5557 GB, free: 11.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.4781, allocations: 111.5 kB / 0.5558 GB, free: 10.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4793, allocations: 0.98 MB / 0.5567 GB, free: 9.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.4793, allocations: 33.7 kB / 0.5568 GB, free: 9.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.4798, allocations: 0.6927 MB / 0.5574 GB, free: 9.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.48, allocations: 256.3 kB / 0.5577 GB, free: 8.988 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.48, allocations: 28 kB / 0.5577 GB, free: 8.961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4801, allocations: 341.9 kB / 0.558 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.4808, allocations: 354.4 kB / 0.5584 GB, free: 8.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009299/0.4818, allocations: 0.7911 MB / 0.5592 GB, free: 7.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.4826, allocations: 458.9 kB / 0.5596 GB, free: 6.824 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.4826, allocations: 4 kB / 0.5596 GB, free: 6.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002367/0.485, allocations: 1.348 MB / 0.5609 GB, free: 5.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001676/0.4867, allocations: 5.755 MB / 0.5665 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.4867, allocations: 20 kB / 0.5666 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/0.4885, allocations: 368.5 kB / 0.5669 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.4893, allocations: 271.5 kB / 0.5672 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.4905, allocations: 0.8606 MB / 0.568 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.4916, allocations: 91.88 kB / 0.5681 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.4917, allocations: 63.98 kB / 0.5682 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.4917, allocations: 4 kB / 0.5682 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002622/0.4944, allocations: 1.25 MB / 0.5694 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.4944, allocations: 20.03 kB / 0.5694 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000915/0.4953, allocations: 224.7 kB / 0.5696 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/0.4962, allocations: 283.5 kB / 0.5699 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009914/0.4972, allocations: 0.8058 MB / 0.5707 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009643/0.4982, allocations: 99.91 kB / 0.5708 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/0.4983, allocations: 59.98 kB / 0.5708 GB, free: 10.8 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.000583/0.4989, allocations: 396.7 kB / 0.5712 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.4991, allocations: 122.5 kB / 0.5713 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.5031, allocations: 3.169 MB / 0.5744 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.5032, allocations: 39.89 kB / 0.5744 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5032, allocations: 0 / 0.5744 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5032, allocations: 3.984 kB / 0.5745 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005789/0.509, allocations: 4.691 MB / 0.579 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.509, allocations: 4 kB / 0.579 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.5096, allocations: 152 kB / 0.5792 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.5116, allocations: 1.07 MB / 0.5802 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.5117, allocations: 27.92 kB / 0.5803 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.5132, allocations: 1.492 MB / 0.5817 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5132, allocations: 7.938 kB / 0.5817 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.5173, allocations: 3.131 MB / 0.5848 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/0.5181, allocations: 422.1 kB / 0.5852 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.5184, allocations: 20 kB / 0.5852 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008319/0.5192, allocations: 87.86 kB / 0.5853 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.5194, allocations: 72.45 kB / 0.5853 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.5194, allocations: 27.98 kB / 0.5854 GB, free: 11.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.5206, allocations: 0.8477 MB / 0.5862 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5206, allocations: 0 / 0.5862 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005206/0.5258, allocations: 1.574 MB / 0.5877 GB, free: 9.199 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.006374/0.5322, allocations: 1.383 MB / 0.5891 GB, free: 7.816 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.5364, allocations: 1.795 MB / 0.5908 GB, free: 6.027 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.5364, allocations: 0 / 0.5908 GB, free: 6.027 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.5379, allocations: 0.8521 MB / 0.5917 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.5409, allocations: 440.8 kB / 0.5921 GB, free: 4.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/0.5468, allocations: 4.321 MB / 0.5963 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009925/0.5478, allocations: 1.389 MB / 0.5977 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.5493, allocations: 0.7778 MB / 0.5984 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.5495, allocations: 91.42 kB / 0.5985 GB, free: 14.08 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5495, allocations: 0 / 0.5985 GB, free: 14.08 MB / 478.1 MB Notification: Performance of Templates: time 0.2355/0.785, allocations: 54.25 MB / 0.6515 GB, free: 146 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: