Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001739/0.001739, allocations: 177.3 kB / 15.94 MB, free: 228 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.827/1.827, 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.1+maint.om/package.mo): time 0.3731/0.3731, allocations: 38.03 MB / 308.4 MB, free: 10.47 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.0008204/0.0008205, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1452, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.3002/0.4454, allocations: 39.58 MB / 473.5 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02342/0.4689, allocations: 18.76 MB / 492.3 MB, free: 21.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.4714, allocations: 43.75 kB / 492.3 MB, free: 21.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.4747, allocations: 0.6438 MB / 493 MB, free: 20.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01773/0.4925, allocations: 4.455 MB / 497.4 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0125/0.505, allocations: 3.031 MB / 0.4887 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005445/0.5104, allocations: 1.76 MB / 0.4904 GB, free: 16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.5133, allocations: 0.9048 MB / 0.4913 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.5164, allocations: 0.9503 MB / 0.4922 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/0.5303, allocations: 6.171 MB / 0.4983 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005372/0.5309, allocations: 74.91 kB / 0.4983 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02258/0.5535, allocations: 7.698 MB / 0.5059 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007471/0.5543, allocations: 279.9 kB / 0.5061 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.5555, allocations: 345.1 kB / 0.5065 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.5684, allocations: 4.573 MB / 0.5109 GB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5684, allocations: 1.188 kB / 0.5109 GB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.666e-06/0.5684, allocations: 0 / 0.5109 GB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.087e-05/0.5685, allocations: 0 / 0.5109 GB, free: 10.42 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00894/0.5774, allocations: 2.198 MB / 0.5131 GB, free: 8.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.5775, allocations: 17.8 kB / 0.5131 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.5805, allocations: 408.7 kB / 0.5135 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.5828, allocations: 0.9064 MB / 0.5144 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.583, allocations: 103 kB / 0.5145 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.5832, allocations: 137.1 kB / 0.5146 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/0.587, allocations: 1.68 MB / 0.5162 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.587, allocations: 7.969 kB / 0.5162 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.5872, allocations: 54.41 kB / 0.5163 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/0.5872, allocations: 49.17 kB / 0.5163 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.5904, allocations: 1.376 MB / 0.5177 GB, free: 6.098 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.009866/0.6003, allocations: 7.68 MB / 0.5252 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.6031, allocations: 0.9709 MB / 0.5261 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0532/0.6563, allocations: 24.5 MB / 0.5501 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.227e-05/0.6564, allocations: 47.2 kB / 0.5501 GB, free: 2.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=71): time 2.845e-06/0.6565, allocations: 0 / 0.5501 GB, free: 2.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.01008/0.6665, allocations: 3.1 MB / 0.5531 GB, free: 15.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.6667, allocations: 111.5 kB / 0.5532 GB, free: 15.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.6683, allocations: 0.9684 MB / 0.5542 GB, free: 14.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/0.6684, allocations: 37.7 kB / 0.5542 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/0.6689, allocations: 0.7004 MB / 0.5549 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.6691, allocations: 264.2 kB / 0.5552 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.6692, allocations: 24 kB / 0.5552 GB, free: 13.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6693, allocations: 349.9 kB / 0.5555 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/0.6701, allocations: 358.4 kB / 0.5559 GB, free: 12.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.6712, allocations: 0.7902 MB / 0.5566 GB, free: 11.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.6721, allocations: 466.9 kB / 0.5571 GB, free: 11.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.6721, allocations: 4 kB / 0.5571 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002744/0.6749, allocations: 1.341 MB / 0.5584 GB, free: 9.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002458/0.6773, allocations: 5.655 MB / 0.5639 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.6774, allocations: 12.69 kB / 0.5639 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.679, allocations: 292.5 kB / 0.5642 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.68, allocations: 287.5 kB / 0.5645 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.6811, allocations: 0.7981 MB / 0.5652 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.6824, allocations: 95.91 kB / 0.5653 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.6825, allocations: 71.98 kB / 0.5654 GB, free: 2.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.6825, allocations: 8 kB / 0.5654 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002446/0.685, allocations: 1.196 MB / 0.5666 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.685, allocations: 16 kB / 0.5666 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009607/0.686, allocations: 208.7 kB / 0.5668 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/0.6869, allocations: 283.5 kB / 0.5671 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009357/0.6879, allocations: 0.7708 MB / 0.5678 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.689, allocations: 107.8 kB / 0.5679 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.741e-05/0.6891, allocations: 59.98 kB / 0.568 GB, free: 15.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (133): * Single equations (assignments): 132 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007343/0.6899, allocations: 401.8 kB / 0.5684 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.69, allocations: 122.5 kB / 0.5685 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.6944, allocations: 3.162 MB / 0.5716 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/0.6944, allocations: 39.94 kB / 0.5716 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6944, allocations: 4 kB / 0.5716 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.6944, allocations: 3.984 kB / 0.5716 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006824/0.7013, allocations: 4.797 MB / 0.5763 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.7013, allocations: 4.219 kB / 0.5763 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/0.7021, allocations: 163.8 kB / 0.5765 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/0.7042, allocations: 1.09 MB / 0.5775 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.7043, allocations: 20 kB / 0.5775 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.706, allocations: 1.427 MB / 0.5789 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.706, allocations: 4.031 kB / 0.5789 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.711, allocations: 3.217 MB / 0.5821 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.7123, allocations: 438 kB / 0.5825 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.7125, allocations: 20 kB / 0.5825 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/0.7133, allocations: 83.84 kB / 0.5826 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.7134, allocations: 76.44 kB / 0.5827 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/0.7135, allocations: 32.03 kB / 0.5827 GB, free: 15.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001319/0.7149, allocations: 0.8438 MB / 0.5835 GB, free: 15.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.7149, allocations: 0 / 0.5835 GB, free: 15.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007918/0.7228, allocations: 1.589 MB / 0.5851 GB, free: 13.56 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (72): * Single equations (assignments): 65 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008683/0.7315, allocations: 1.383 MB / 0.5864 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004163/0.7357, allocations: 1.818 MB / 0.5882 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.7358, allocations: 0 / 0.5882 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.7372, allocations: 0.8439 MB / 0.589 GB, free: 9.512 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.74, allocations: 452.8 kB / 0.5895 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.7466, allocations: 4.462 MB / 0.5938 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.7477, allocations: 1.397 MB / 0.5952 GB, free: 3.125 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001806/0.7495, allocations: 0.7314 MB / 0.5959 GB, free: 2.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.7498, allocations: 99.41 kB / 0.596 GB, free: 2.301 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7498, allocations: 0 / 0.596 GB, free: 2.301 MB / 462.1 MB Notification: Performance of Templates: time 0.2834/1.033, allocations: 54.23 MB / 0.649 GB, free: 149 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) Environment - environmentSimulation: