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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 100.1 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.0009765/0.0009765, 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.288/1.288, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2953/0.2953, allocations: 39.99 MB / 310.4 MB, free: 9.613 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.0004696/0.0004695, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09443, allocations: 57.95 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.2062/0.3006, allocations: 39.57 MB / 476.3 MB, free: 31.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01866/0.3193, allocations: 18.77 MB / 495.1 MB, free: 18.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.3208, allocations: 44.97 kB / 495.2 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.3224, allocations: 0.642 MB / 495.8 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.3334, allocations: 4.444 MB / 0.4885 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008671/0.3421, allocations: 3.035 MB / 0.4915 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003686/0.3458, allocations: 1.771 MB / 0.4932 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.3474, allocations: 0.8987 MB / 0.4941 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.3493, allocations: 0.944 MB / 0.495 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009848/0.3592, allocations: 6.176 MB / 0.501 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003221/0.3595, allocations: 74.78 kB / 0.5011 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/0.3742, allocations: 7.698 MB / 0.5086 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.3746, allocations: 277.3 kB / 0.5089 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.3752, allocations: 344.3 kB / 0.5092 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007154/0.3823, allocations: 4.573 MB / 0.5137 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3823, allocations: 5.375 kB / 0.5137 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3824, allocations: 0 / 0.5137 GB, free: 7.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.748e-05/0.3824, allocations: 0 / 0.5137 GB, free: 7.199 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.005529/0.3879, allocations: 2.198 MB / 0.5158 GB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.388, allocations: 13.3 kB / 0.5159 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.3905, allocations: 412.6 kB / 0.5162 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.3922, allocations: 0.9067 MB / 0.5171 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/0.3922, allocations: 107.5 kB / 0.5172 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3924, allocations: 128.2 kB / 0.5174 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.3954, allocations: 1.682 MB / 0.519 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.3955, allocations: 10.62 kB / 0.519 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.3956, allocations: 56.91 kB / 0.5191 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.814e-05/0.3957, allocations: 47.55 kB / 0.5191 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.3985, allocations: 1.376 MB / 0.5205 GB, free: 2.617 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.008757/0.4073, allocations: 7.687 MB / 0.528 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.4098, allocations: 0.9593 MB / 0.5289 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0482/0.458, allocations: 24.51 MB / 0.5528 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.4582, allocations: 47.16 kB / 0.5529 GB, free: 13.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 3.577e-06/0.4582, allocations: 0 / 0.5529 GB, free: 13.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.008833/0.467, allocations: 3.108 MB / 0.5559 GB, free: 10.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.4671, allocations: 107.5 kB / 0.556 GB, free: 10.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.4684, allocations: 0.9761 MB / 0.557 GB, free: 9.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.4685, allocations: 41.7 kB / 0.557 GB, free: 9.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000467/0.469, allocations: 0.6967 MB / 0.5577 GB, free: 8.922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.4692, allocations: 260.2 kB / 0.5579 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.4692, allocations: 20 kB / 0.558 GB, free: 8.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4694, allocations: 349.9 kB / 0.5583 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.4701, allocations: 362.4 kB / 0.5586 GB, free: 7.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.4712, allocations: 0.7863 MB / 0.5594 GB, free: 6.953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009064/0.4721, allocations: 458.9 kB / 0.5598 GB, free: 6.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4721, allocations: 4 kB / 0.5598 GB, free: 6.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002574/0.4747, allocations: 1.344 MB / 0.5612 GB, free: 5.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002283/0.477, allocations: 5.664 MB / 0.5667 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.477, allocations: 19.94 kB / 0.5667 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.4786, allocations: 292.5 kB / 0.567 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4796, allocations: 287.5 kB / 0.5673 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009355/0.4806, allocations: 0.7903 MB / 0.568 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.4818, allocations: 107.8 kB / 0.5681 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.4819, allocations: 67.98 kB / 0.5682 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.4819, allocations: 4 kB / 0.5682 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002337/0.4843, allocations: 1.195 MB / 0.5694 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.4843, allocations: 16 kB / 0.5694 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009029/0.4852, allocations: 201.4 kB / 0.5696 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.4861, allocations: 287.5 kB / 0.5698 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008575/0.487, allocations: 0.7707 MB / 0.5706 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009725/0.488, allocations: 99.84 kB / 0.5707 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.4881, allocations: 63.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: 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.0006247/0.4887, allocations: 396.7 kB / 0.5711 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.4889, allocations: 118.5 kB / 0.5712 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.4929, allocations: 3.176 MB / 0.5744 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.4929, allocations: 40.02 kB / 0.5744 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.493, allocations: 0 / 0.5744 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.493, allocations: 7.984 kB / 0.5744 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/0.499, allocations: 4.797 MB / 0.5791 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.499, allocations: 0 / 0.5791 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.4997, allocations: 164 kB / 0.5792 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/0.5016, allocations: 1.09 MB / 0.5803 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.5017, allocations: 20 kB / 0.5803 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.5032, allocations: 1.43 MB / 0.5817 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5032, allocations: 4.031 kB / 0.5817 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/0.5073, allocations: 3.213 MB / 0.5849 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.5081, allocations: 434 kB / 0.5853 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.5082, allocations: 16 kB / 0.5853 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.509, allocations: 95.73 kB / 0.5854 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.5091, allocations: 68.55 kB / 0.5854 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.5092, allocations: 35.98 kB / 0.5855 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.5103, allocations: 0.8399 MB / 0.5863 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5103, allocations: 0 / 0.5863 GB, free: 10.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005125/0.5155, allocations: 1.585 MB / 0.5878 GB, free: 9.035 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.005394/0.5209, allocations: 1.386 MB / 0.5892 GB, free: 7.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.5243, allocations: 1.826 MB / 0.591 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5244, allocations: 0 / 0.591 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.5255, allocations: 0.8427 MB / 0.5918 GB, free: 4.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.5278, allocations: 448.5 kB / 0.5922 GB, free: 4.543 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.5331, allocations: 4.463 MB / 0.5966 GB, free: 28 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008529/0.534, allocations: 1.397 MB / 0.598 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.5354, allocations: 0.743 MB / 0.5987 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.5357, allocations: 95.41 kB / 0.5988 GB, free: 13.76 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5357, allocations: 4 kB / 0.5988 GB, free: 13.76 MB / 478.1 MB Notification: Performance of Templates: time 0.225/0.7607, allocations: 54.23 MB / 0.6517 GB, free: 146.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: