Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, 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.307/1.307, allocations: 222.9 MB / 241.6 MB, free: 11 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.001177/0.001177, allocations: 109.6 kB / 291.9 MB, free: 10.94 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.3355/0.3355, allocations: 44.12 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000985/0.0009851, allocations: 59.91 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2783, allocations: 60.79 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.0233/0.3017, allocations: 34.09 MB / 0.5397 GB, free: 13.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02091/0.3226, allocations: 20.13 MB / 0.5593 GB, free: 48 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.3249, allocations: 82.09 kB / 0.5594 GB, free: 0 / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.3267, allocations: 0.6002 MB / 0.56 GB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006165/0.333, allocations: 2.385 MB / 0.5623 GB, free: 14.39 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.344, allocations: 4.361 MB / 0.5666 GB, free: 12.37 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008335/0.3524, allocations: 6.592 MB / 0.573 GB, free: 9.918 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.3544, allocations: 1.156 MB / 0.5742 GB, free: 9.152 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.3576, allocations: 1.469 MB / 0.5756 GB, free: 8.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003528/0.3612, allocations: 1.814 MB / 0.5774 GB, free: 7.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004492/0.3616, allocations: 100 kB / 0.5775 GB, free: 7.223 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005697/0.3673, allocations: 2.722 MB / 0.5801 GB, free: 4.496 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007659/0.3681, allocations: 0.588 MB / 0.5807 GB, free: 3.906 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.3694, allocations: 0.9095 MB / 0.5816 GB, free: 2.992 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006284/0.3757, allocations: 4.134 MB / 0.5856 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3757, allocations: 0 / 0.5856 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3757, allocations: 4 kB / 0.5856 GB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.3758, allocations: 3.938 kB / 0.5856 GB, free: 14.84 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.005598/0.3814, allocations: 2.477 MB / 0.588 GB, free: 12.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3814, allocations: 8.031 kB / 0.588 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.382, allocations: 201.7 kB / 0.5882 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.3838, allocations: 1.121 MB / 0.5893 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.384, allocations: 187.2 kB / 0.5895 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.3842, allocations: 116 kB / 0.5896 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/0.3872, allocations: 1.934 MB / 0.5915 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.3873, allocations: 0 / 0.5915 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.3874, allocations: 47.97 kB / 0.5916 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.3876, allocations: 114.2 kB / 0.5917 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003201/0.3908, allocations: 1.957 MB / 0.5936 GB, free: 6.469 MB / 410.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.01226/0.4031, allocations: 7.263 MB / 0.6007 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.4053, allocations: 1.401 MB / 0.602 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.4066, allocations: 0.8363 MB / 0.6029 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006284/0.4128, allocations: 4.518 MB / 0.6073 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.4129, allocations: 47.56 kB / 0.6073 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007655/0.4137, allocations: 222.5 kB / 0.6075 GB, free: 7.383 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 2.985e-06/0.4137, allocations: 0 / 0.6075 GB, free: 7.383 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.01922/0.4329, allocations: 6.589 MB / 0.614 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.4331, allocations: 218.9 kB / 0.6142 GB, free: 480 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.4349, allocations: 1.371 MB / 0.6155 GB, free: 15.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.435, allocations: 53.7 kB / 0.6156 GB, free: 15.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004779/0.4355, allocations: 0.6689 MB / 0.6162 GB, free: 14.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/0.4359, allocations: 461.3 kB / 0.6167 GB, free: 13.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005445/0.4365, allocations: 331.3 kB / 0.617 GB, free: 13.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.4366, allocations: 305.1 kB / 0.6173 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4379, allocations: 0.8363 MB / 0.6181 GB, free: 12.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.4396, allocations: 1.177 MB / 0.6192 GB, free: 11.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.4425, allocations: 1.956 MB / 0.6211 GB, free: 9.051 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4425, allocations: 4 kB / 0.6211 GB, free: 9.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004461/0.4469, allocations: 2.602 MB / 0.6237 GB, free: 6.434 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.447, allocations: 8 kB / 0.6237 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.447, allocations: 12 kB / 0.6237 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008756/0.4558, allocations: 1.688 MB / 0.6253 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4572, allocations: 331.6 kB / 0.6257 GB, free: 4.398 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.4601, allocations: 1.785 MB / 0.6274 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.4616, allocations: 87.84 kB / 0.6275 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.4618, allocations: 71.97 kB / 0.6276 GB, free: 2.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001874/0.4637, allocations: 1.101 MB / 0.6286 GB, free: 1.324 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001609/0.4653, allocations: 1.159 MB / 0.6298 GB, free: 24 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002728/0.4681, allocations: 1.895 MB / 0.6316 GB, free: 14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.502e-06/0.4681, allocations: 4 kB / 0.6316 GB, free: 14 MB / 458.7 MB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004012/0.4721, allocations: 2.436 MB / 0.634 GB, free: 11.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4721, allocations: 12 kB / 0.634 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4722, allocations: 8 kB / 0.634 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005087/0.4773, allocations: 1.061 MB / 0.6351 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4786, allocations: 351.5 kB / 0.6354 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.4807, allocations: 1.473 MB / 0.6368 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.4821, allocations: 95.84 kB / 0.6369 GB, free: 8.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.4823, allocations: 75.95 kB / 0.637 GB, free: 8.453 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.0004639/0.4828, allocations: 292.3 kB / 0.6373 GB, free: 8.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.4832, allocations: 166 kB / 0.6374 GB, free: 7.996 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/0.4882, allocations: 2.567 MB / 0.6399 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.4883, allocations: 19.94 kB / 0.64 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4883, allocations: 0 / 0.64 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.4883, allocations: 7.969 kB / 0.64 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00808/0.4964, allocations: 4.199 MB / 0.6441 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4964, allocations: 0 / 0.6441 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.4975, allocations: 231.7 kB / 0.6443 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004992/0.5025, allocations: 1.299 MB / 0.6456 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.5027, allocations: 35.98 kB / 0.6456 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.5051, allocations: 1.804 MB / 0.6473 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5051, allocations: 4 kB / 0.6474 GB, free: 13.73 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.6102/1.115, allocations: 42.69 MB / 0.689 GB, free: 128 MB / 490.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.