Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009901/0.0009896, allocations: 106.1 kB / 291.8 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3361/0.3361, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3735, allocations: 60.8 MB / 0.5064 GB, free: 38.37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.04362/0.4172, allocations: 48.05 MB / 0.5533 GB, free: 4.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03352/0.4507, allocations: 22.83 MB / 0.5756 GB, free: 4.715 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.454, allocations: 42.69 kB / 0.5757 GB, free: 4.699 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.4569, allocations: 0.6271 MB / 0.5763 GB, free: 4.379 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.021/0.4779, allocations: 4.496 MB / 0.5807 GB, free: 1.844 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.4882, allocations: 2.279 MB / 0.5829 GB, free: 144 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006035/0.4942, allocations: 3.09 MB / 0.5859 GB, free: 14.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.496, allocations: 0.9909 MB / 0.5869 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.4986, allocations: 1.011 MB / 0.5879 GB, free: 12.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00932/0.508, allocations: 4.042 MB / 0.5918 GB, free: 8.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004639/0.5085, allocations: 92 kB / 0.5919 GB, free: 8.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/0.528, allocations: 7.805 MB / 0.5995 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000523/0.5285, allocations: 318.6 kB / 0.5998 GB, free: 200 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.5301, allocations: 0.8202 MB / 0.6006 GB, free: 15.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01963/0.5497, allocations: 6.516 MB / 0.607 GB, free: 8.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5498, allocations: 0 / 0.607 GB, free: 8.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5498, allocations: 0 / 0.607 GB, free: 8.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.5499, allocations: 0 / 0.607 GB, free: 8.84 MB / 426.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.007976/0.5579, allocations: 2.468 MB / 0.6094 GB, free: 6.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.558, allocations: 15.97 kB / 0.6094 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.5605, allocations: 406.7 kB / 0.6098 GB, free: 5.902 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.5622, allocations: 0.9224 MB / 0.6107 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.5623, allocations: 106.6 kB / 0.6108 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.5625, allocations: 128 kB / 0.6109 GB, free: 4.707 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.5658, allocations: 1.649 MB / 0.6125 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.5659, allocations: 7.906 kB / 0.6125 GB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.566, allocations: 56 kB / 0.6126 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/0.5661, allocations: 46.31 kB / 0.6126 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.5691, allocations: 1.32 MB / 0.6139 GB, free: 1.52 MB / 426.7 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.009555/0.5787, allocations: 7.658 MB / 0.6214 GB, free: 9.332 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.5815, allocations: 0.9502 MB / 0.6223 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/0.5823, allocations: 382.3 kB / 0.6227 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04896/0.6313, allocations: 24.31 MB / 0.6464 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.6314, allocations: 43.12 kB / 0.6465 GB, free: 12.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=68): time 2.776e-06/0.6314, allocations: 0 / 0.6465 GB, free: 12.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.009857/0.6412, allocations: 3.091 MB / 0.6495 GB, free: 9.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.6413, allocations: 137.2 kB / 0.6496 GB, free: 9.402 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.6427, allocations: 1.015 MB / 0.6506 GB, free: 8.371 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.6427, allocations: 37.7 kB / 0.6507 GB, free: 8.328 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000501/0.6433, allocations: 0.7005 MB / 0.6513 GB, free: 7.617 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.6435, allocations: 244.5 kB / 0.6516 GB, free: 7.375 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.6438, allocations: 222.7 kB / 0.6518 GB, free: 7.148 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6439, allocations: 353.9 kB / 0.6521 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.6447, allocations: 353.9 kB / 0.6525 GB, free: 6.449 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.6458, allocations: 0.7958 MB / 0.6532 GB, free: 5.441 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.6477, allocations: 1.168 MB / 0.6544 GB, free: 4.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.6477, allocations: 7.984 kB / 0.6544 GB, free: 4.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00258/0.6503, allocations: 1.336 MB / 0.6557 GB, free: 2.715 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6504, allocations: 15.94 kB / 0.6557 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.6504, allocations: 16 kB / 0.6557 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.6522, allocations: 368.6 kB / 0.6561 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007847/0.653, allocations: 259.6 kB / 0.6563 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.6543, allocations: 0.8449 MB / 0.6571 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009535/0.6553, allocations: 87.91 kB / 0.6572 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.6554, allocations: 59.98 kB / 0.6573 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00114/0.6565, allocations: 0.5649 MB / 0.6578 GB, free: 496 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001065/0.6576, allocations: 0.7849 MB / 0.6586 GB, free: 15.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001809/0.6594, allocations: 1.157 MB / 0.6597 GB, free: 14.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.664e-06/0.6594, allocations: 4 kB / 0.6597 GB, free: 14.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.002961/0.6624, allocations: 1.34 MB / 0.661 GB, free: 12.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6624, allocations: 8 kB / 0.6611 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.6625, allocations: 19.94 kB / 0.6611 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009798/0.6634, allocations: 237.2 kB / 0.6613 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.6643, allocations: 259.6 kB / 0.6615 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.6654, allocations: 0.802 MB / 0.6623 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/0.6664, allocations: 87.84 kB / 0.6624 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.6665, allocations: 63.98 kB / 0.6625 GB, free: 11.29 MB / 490.7 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 (pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003315/0.6668, allocations: 267.8 kB / 0.6627 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.667, allocations: 118.5 kB / 0.6628 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/0.6714, allocations: 3.115 MB / 0.6659 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/0.6715, allocations: 35.95 kB / 0.6659 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6715, allocations: 0 / 0.6659 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6715, allocations: 3.984 kB / 0.6659 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.6777, allocations: 4.673 MB / 0.6705 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.6777, allocations: 0 / 0.6705 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.6783, allocations: 139.7 kB / 0.6706 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/0.6804, allocations: 1.054 MB / 0.6716 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.6805, allocations: 19.98 kB / 0.6717 GB, free: 1.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.6822, allocations: 1.474 MB / 0.6731 GB, free: 244 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.6822, allocations: 0 / 0.6731 GB, free: 244 kB / 490.7 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4652/1.147, allocations: 78.11 MB / 0.7494 GB, free: 119.8 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.