Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 106.5 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4/0.4, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.383, allocations: 62.01 MB / 0.5152 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.04437/0.4274, allocations: 48.15 MB / 0.5622 GB, free: 3.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03427/0.4617, allocations: 22.84 MB / 0.5845 GB, free: 2.484 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.4648, allocations: 43.75 kB / 0.5845 GB, free: 2.441 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.4674, allocations: 0.6255 MB / 0.5851 GB, free: 1.812 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01857/0.486, allocations: 4.5 MB / 0.5895 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009084/0.4952, allocations: 2.276 MB / 0.5917 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005302/0.5005, allocations: 3.098 MB / 0.5948 GB, free: 7.941 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.5025, allocations: 1.006 MB / 0.5958 GB, free: 6.898 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.5052, allocations: 1.003 MB / 0.5967 GB, free: 5.891 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008932/0.5142, allocations: 4.042 MB / 0.6007 GB, free: 1.793 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000515/0.5148, allocations: 92 kB / 0.6008 GB, free: 1.703 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01828/0.5331, allocations: 7.819 MB / 0.6084 GB, free: 9.875 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.5338, allocations: 330.6 kB / 0.6087 GB, free: 9.551 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.5352, allocations: 0.8085 MB / 0.6095 GB, free: 8.738 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.5524, allocations: 6.516 MB / 0.6159 GB, free: 2.207 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.5524, allocations: 4 kB / 0.6159 GB, free: 2.203 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5524, allocations: 3.938 kB / 0.6159 GB, free: 2.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.5525, allocations: 0 / 0.6159 GB, free: 2.199 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.006783/0.5593, allocations: 2.468 MB / 0.6183 GB, free: 15.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5594, allocations: 8.031 kB / 0.6183 GB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.5618, allocations: 410.6 kB / 0.6187 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.5637, allocations: 0.9225 MB / 0.6196 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.5638, allocations: 98.61 kB / 0.6197 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.564, allocations: 136 kB / 0.6198 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.5674, allocations: 1.646 MB / 0.6214 GB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.5675, allocations: 11.84 kB / 0.6214 GB, free: 12.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.5676, allocations: 56 kB / 0.6215 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-05/0.5676, allocations: 54.23 kB / 0.6215 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.5707, allocations: 1.309 MB / 0.6228 GB, free: 10.89 MB / 442.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.01033/0.581, allocations: 7.682 MB / 0.6303 GB, free: 2.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.5837, allocations: 0.9482 MB / 0.6312 GB, free: 1.723 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.5845, allocations: 390.3 kB / 0.6316 GB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05096/0.6355, allocations: 26.85 MB / 0.6578 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.2e-05/0.6356, allocations: 43.12 kB / 0.6579 GB, free: 3.012 MB / 474.7 MB Notification: Performance of pre-optimization done (n=68): time 2.555e-06/0.6356, allocations: 0 / 0.6579 GB, free: 3.012 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.01017/0.6458, allocations: 3.091 MB / 0.6609 GB, free: 15.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.6459, allocations: 137.2 kB / 0.661 GB, free: 15.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.6474, allocations: 1.011 MB / 0.662 GB, free: 14.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.6474, allocations: 37.7 kB / 0.6621 GB, free: 14.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.6479, allocations: 0.6926 MB / 0.6627 GB, free: 13.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.6481, allocations: 252.5 kB / 0.663 GB, free: 13.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.6484, allocations: 226.7 kB / 0.6632 GB, free: 13.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6485, allocations: 345.9 kB / 0.6635 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/0.6493, allocations: 357.9 kB / 0.6639 GB, free: 12.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.6504, allocations: 0.7919 MB / 0.6646 GB, free: 11.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.6522, allocations: 1.172 MB / 0.6658 GB, free: 10.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.6522, allocations: 8 kB / 0.6658 GB, free: 10.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002555/0.6548, allocations: 1.341 MB / 0.6671 GB, free: 8.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.6548, allocations: 12.12 kB / 0.6671 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.6548, allocations: 19.98 kB / 0.6671 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.6567, allocations: 360.5 kB / 0.6675 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.6575, allocations: 263.6 kB / 0.6677 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.6588, allocations: 0.8371 MB / 0.6685 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000989/0.6598, allocations: 91.84 kB / 0.6686 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.6599, allocations: 63.98 kB / 0.6687 GB, free: 7.328 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001156/0.661, allocations: 0.558 MB / 0.6692 GB, free: 6.766 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001046/0.6621, allocations: 0.7966 MB / 0.67 GB, free: 5.762 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001841/0.664, allocations: 1.153 MB / 0.6711 GB, free: 4.402 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.843e-06/0.664, allocations: 4 kB / 0.6711 GB, free: 4.398 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.002995/0.667, allocations: 1.344 MB / 0.6725 GB, free: 3.043 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.667, allocations: 12 kB / 0.6725 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.667, allocations: 19.94 kB / 0.6725 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/0.668, allocations: 216.8 kB / 0.6727 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.6688, allocations: 267.6 kB / 0.6729 GB, free: 2.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009624/0.6698, allocations: 0.7981 MB / 0.6737 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.6708, allocations: 95.84 kB / 0.6738 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.251e-05/0.6709, allocations: 63.92 kB / 0.6739 GB, free: 1.555 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.0003434/0.6713, allocations: 262.6 kB / 0.6741 GB, free: 1.293 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.6715, allocations: 118.6 kB / 0.6742 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/0.6761, allocations: 3.111 MB / 0.6773 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/0.6761, allocations: 39.94 kB / 0.6773 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.6762, allocations: 0 / 0.6773 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.6762, allocations: 3.984 kB / 0.6773 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007344/0.6835, allocations: 4.665 MB / 0.6819 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.6836, allocations: 8.219 kB / 0.6819 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.6841, allocations: 135.8 kB / 0.682 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.6864, allocations: 1.057 MB / 0.683 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.6865, allocations: 20 kB / 0.6831 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.6883, allocations: 1.47 MB / 0.6845 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6883, allocations: 4.031 kB / 0.6845 GB, free: 6.523 MB / 0.4948 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.501/1.189, allocations: 79.08 MB / 0.7617 GB, free: 103.7 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.