Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 98.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.301/0.301, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009854/0.0009856, allocations: 51.92 kB / 429.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1074, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.2361/0.3436, allocations: 48.02 MB / 0.5225 GB, free: 35.14 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02456/0.3682, allocations: 22.79 MB / 0.5448 GB, free: 21.13 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.3706, allocations: 44.84 kB / 0.5448 GB, free: 21.11 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.3726, allocations: 0.6285 MB / 0.5454 GB, free: 20.79 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.3856, allocations: 4.49 MB / 0.5498 GB, free: 18.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006408/0.3921, allocations: 2.248 MB / 0.552 GB, free: 17.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004096/0.3962, allocations: 3.096 MB / 0.555 GB, free: 16.06 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.3976, allocations: 0.9935 MB / 0.556 GB, free: 15.61 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.3994, allocations: 0.9971 MB / 0.557 GB, free: 15.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008132/0.4076, allocations: 4.046 MB / 0.5609 GB, free: 13.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003668/0.408, allocations: 94.16 kB / 0.561 GB, free: 13.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/0.4245, allocations: 7.805 MB / 0.5686 GB, free: 11.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.4251, allocations: 322 kB / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.4262, allocations: 0.8143 MB / 0.5697 GB, free: 10.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.4415, allocations: 6.521 MB / 0.5761 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4415, allocations: 0 / 0.5761 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4415, allocations: 0 / 0.5761 GB, free: 6.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.544e-05/0.4416, allocations: 1.312 kB / 0.5761 GB, free: 6.816 MB / 394.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.007027/0.4486, allocations: 2.459 MB / 0.5785 GB, free: 5.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4487, allocations: 9.312 kB / 0.5785 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.4512, allocations: 406.6 kB / 0.5789 GB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.4528, allocations: 0.9377 MB / 0.5798 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.4529, allocations: 104 kB / 0.5799 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.4531, allocations: 126.3 kB / 0.58 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.4563, allocations: 1.643 MB / 0.5816 GB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.4563, allocations: 10.39 kB / 0.5816 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.4565, allocations: 53.69 kB / 0.5817 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.903e-05/0.4566, allocations: 50.31 kB / 0.5817 GB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.4594, allocations: 1.316 MB / 0.583 GB, free: 2.316 MB / 394.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.009126/0.4686, allocations: 7.675 MB / 0.5905 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.471, allocations: 0.9449 MB / 0.5914 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/0.4718, allocations: 396 kB / 0.5918 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04777/0.5195, allocations: 24.29 MB / 0.6155 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.5196, allocations: 39.12 kB / 0.6156 GB, free: 15.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 2.465e-06/0.5196, allocations: 0 / 0.6156 GB, free: 15.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.009829/0.5295, allocations: 3.103 MB / 0.6186 GB, free: 11.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.5296, allocations: 145.2 kB / 0.6187 GB, free: 11.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.5308, allocations: 1.007 MB / 0.6197 GB, free: 10.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.5309, allocations: 37.7 kB / 0.6198 GB, free: 10.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/0.5313, allocations: 0.6927 MB / 0.6204 GB, free: 9.918 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.5315, allocations: 244.5 kB / 0.6207 GB, free: 9.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/0.5318, allocations: 226.7 kB / 0.6209 GB, free: 9.445 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5319, allocations: 353.9 kB / 0.6212 GB, free: 9.094 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/0.5327, allocations: 357.9 kB / 0.6216 GB, free: 8.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009803/0.5337, allocations: 0.7881 MB / 0.6223 GB, free: 7.746 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.5354, allocations: 1.18 MB / 0.6235 GB, free: 6.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.5355, allocations: 4 kB / 0.6235 GB, free: 6.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002555/0.538, allocations: 1.332 MB / 0.6248 GB, free: 5.016 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.5381, allocations: 15.94 kB / 0.6248 GB, free: 5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.5381, allocations: 16.84 kB / 0.6248 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.5399, allocations: 368.5 kB / 0.6252 GB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007982/0.5407, allocations: 264.2 kB / 0.6254 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.5419, allocations: 0.8372 MB / 0.6262 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.543, allocations: 91.75 kB / 0.6263 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.543, allocations: 63.98 kB / 0.6264 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001084/0.5441, allocations: 0.5572 MB / 0.6269 GB, free: 2.785 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009824/0.5451, allocations: 0.785 MB / 0.6277 GB, free: 1.793 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001693/0.5468, allocations: 1.153 MB / 0.6288 GB, free: 440 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.824e-06/0.5469, allocations: 8 kB / 0.6288 GB, free: 432 kB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.002793/0.5497, allocations: 1.337 MB / 0.6301 GB, free: 15.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5497, allocations: 12 kB / 0.6302 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.5497, allocations: 20.88 kB / 0.6302 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009011/0.5506, allocations: 228.5 kB / 0.6304 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/0.5514, allocations: 267.5 kB / 0.6306 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008817/0.5523, allocations: 0.7942 MB / 0.6314 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.5533, allocations: 87.91 kB / 0.6315 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.5534, allocations: 59.98 kB / 0.6316 GB, free: 13.59 MB / 458.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.0002728/0.5537, allocations: 259.8 kB / 0.6318 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.5538, allocations: 118.6 kB / 0.6319 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004029/0.5579, allocations: 3.13 MB / 0.635 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.5579, allocations: 39.89 kB / 0.635 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5579, allocations: 0 / 0.635 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5579, allocations: 3.984 kB / 0.635 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006586/0.5645, allocations: 4.67 MB / 0.6396 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.5646, allocations: 0 / 0.6396 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/0.5654, allocations: 136.1 kB / 0.6397 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/0.5673, allocations: 1.046 MB / 0.6407 GB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.5674, allocations: 27.92 kB / 0.6408 GB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.5689, allocations: 1.474 MB / 0.6422 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5689, allocations: 4.031 kB / 0.6422 GB, free: 2.543 MB / 458.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.3867/0.9556, allocations: 78.12 MB / 0.7185 GB, free: 130 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.