Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, 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.302/1.302, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001063, allocations: 98 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3576/0.3576, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 62.01 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.0247/0.3204, allocations: 34.14 MB / 0.5485 GB, free: 13.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02356/0.344, allocations: 20.15 MB / 0.5682 GB, free: 15.54 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.3464, allocations: 70.47 kB / 0.5682 GB, free: 15.5 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.3485, allocations: 0.6098 MB / 0.5688 GB, free: 15.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006332/0.3548, allocations: 2.394 MB / 0.5712 GB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.013/0.3679, allocations: 4.348 MB / 0.5754 GB, free: 10.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007663/0.3755, allocations: 6.619 MB / 0.5819 GB, free: 5.168 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.3776, allocations: 1.154 MB / 0.583 GB, free: 3.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.3809, allocations: 1.475 MB / 0.5845 GB, free: 2.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.3841, allocations: 1.814 MB / 0.5862 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004743/0.3846, allocations: 100 kB / 0.5863 GB, free: 0.582 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005884/0.3905, allocations: 2.73 MB / 0.589 GB, free: 13.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.3917, allocations: 0.5958 MB / 0.5896 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.3933, allocations: 0.9018 MB / 0.5904 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008132/0.4014, allocations: 4.142 MB / 0.5945 GB, free: 8.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4015, allocations: 4 kB / 0.5945 GB, free: 8.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4015, allocations: 0 / 0.5945 GB, free: 8.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.347e-05/0.4016, allocations: 0 / 0.5945 GB, free: 8.188 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.006704/0.4083, allocations: 2.485 MB / 0.5969 GB, free: 5.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4083, allocations: 8.031 kB / 0.5969 GB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006813/0.409, allocations: 197.8 kB / 0.5971 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.4112, allocations: 1.129 MB / 0.5982 GB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.4114, allocations: 183.2 kB / 0.5984 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.4116, allocations: 112 kB / 0.5985 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.4149, allocations: 1.933 MB / 0.6004 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.415, allocations: 4 kB / 0.6004 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.4151, allocations: 51.95 kB / 0.6004 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.4153, allocations: 122.1 kB / 0.6006 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.4185, allocations: 1.953 MB / 0.6025 GB, free: 15.8 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.01314/0.4317, allocations: 7.265 MB / 0.6096 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.434, allocations: 1.401 MB / 0.6109 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.4353, allocations: 0.8402 MB / 0.6118 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006678/0.442, allocations: 4.517 MB / 0.6162 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.4421, allocations: 55.55 kB / 0.6162 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009426/0.443, allocations: 214.6 kB / 0.6164 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 4.218e-06/0.4431, allocations: 4 kB / 0.6164 GB, free: 0.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.01993/0.463, allocations: 6.588 MB / 0.6229 GB, free: 10.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.4631, allocations: 218.9 kB / 0.6231 GB, free: 9.793 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.4649, allocations: 1.371 MB / 0.6244 GB, free: 8.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.4651, allocations: 57.64 kB / 0.6245 GB, free: 8.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.4656, allocations: 0.6651 MB / 0.6251 GB, free: 7.676 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/0.466, allocations: 461.3 kB / 0.6256 GB, free: 7.219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000536/0.4666, allocations: 327.4 kB / 0.6259 GB, free: 6.895 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.4667, allocations: 309.1 kB / 0.6262 GB, free: 6.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.468, allocations: 0.8324 MB / 0.627 GB, free: 5.754 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.4696, allocations: 1.177 MB / 0.6281 GB, free: 4.445 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.4725, allocations: 1.952 MB / 0.63 GB, free: 2.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4725, allocations: 4 kB / 0.63 GB, free: 2.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004499/0.477, allocations: 2.61 MB / 0.6326 GB, free: 15.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4771, allocations: 8 kB / 0.6326 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.4771, allocations: 15.98 kB / 0.6326 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008817/0.4859, allocations: 1.68 MB / 0.6342 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.4875, allocations: 331.5 kB / 0.6346 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.4903, allocations: 1.774 MB / 0.6363 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4919, allocations: 95.84 kB / 0.6364 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.4921, allocations: 83.88 kB / 0.6365 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001829/0.4939, allocations: 1.097 MB / 0.6375 GB, free: 10.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001558/0.4955, allocations: 1.159 MB / 0.6387 GB, free: 9.344 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002683/0.4982, allocations: 1.899 MB / 0.6405 GB, free: 7.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.4982, allocations: 0 / 0.6405 GB, free: 7.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004126/0.5023, allocations: 2.44 MB / 0.6429 GB, free: 4.867 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5024, allocations: 8 kB / 0.6429 GB, free: 4.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.5024, allocations: 15.98 kB / 0.6429 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005152/0.5076, allocations: 1.051 MB / 0.644 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.509, allocations: 351.5 kB / 0.6443 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.5111, allocations: 1.469 MB / 0.6457 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.5126, allocations: 95.84 kB / 0.6458 GB, free: 1.855 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.5128, allocations: 75.95 kB / 0.6459 GB, free: 1.781 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 {(10,24)} Notification: Performance of prepare postOptimizeDAE: time 0.000455/0.5133, allocations: 287 kB / 0.6462 GB, free: 1.496 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.5137, allocations: 166 kB / 0.6463 GB, free: 1.332 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/0.5182, allocations: 2.559 MB / 0.6488 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.5182, allocations: 19.94 kB / 0.6488 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.5183, allocations: 0 / 0.6488 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.5183, allocations: 7.969 kB / 0.6488 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006629/0.5249, allocations: 4.199 MB / 0.6529 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.525, allocations: 4 kB / 0.653 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.526, allocations: 231.7 kB / 0.6532 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005189/0.5312, allocations: 1.298 MB / 0.6544 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/0.5315, allocations: 43.97 kB / 0.6545 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.5341, allocations: 1.8 MB / 0.6562 GB, free: 7.074 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5341, allocations: 4 kB / 0.6562 GB, free: 7.07 MB / 474.7 MB Error: It is not possible to select a new tearing variable, because all remaining variables have the attribute tearingSelect=never Warning: Function Tearing.selectTearingVar failed at least once. Use -d=tearingdump or -d=tearingdumpV for more information. Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.645/1.179, allocations: 43.03 MB / 0.6983 GB, free: 125.5 MB / 490.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.