Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 183 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.198/1.198, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0009024/0.0009024, allocations: 96.78 kB / 269.9 MB, free: 8.43 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.298/0.298, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001004, allocations: 55.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08851, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.192/0.2805, allocations: 34.08 MB / 0.5089 GB, free: 36.86 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02088/0.3015, allocations: 20.14 MB / 0.5286 GB, free: 32.92 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.3039, allocations: 71.12 kB / 0.5286 GB, free: 32.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.3056, allocations: 0.6055 MB / 0.5292 GB, free: 32.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005876/0.3115, allocations: 2.376 MB / 0.5315 GB, free: 31.28 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.3229, allocations: 4.377 MB / 0.5358 GB, free: 29.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005625/0.3285, allocations: 6.598 MB / 0.5422 GB, free: 27.1 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.3304, allocations: 1.154 MB / 0.5434 GB, free: 26.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.3337, allocations: 1.467 MB / 0.5448 GB, free: 26.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.3366, allocations: 1.811 MB / 0.5466 GB, free: 25.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003745/0.337, allocations: 98.78 kB / 0.5467 GB, free: 25.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005296/0.3423, allocations: 2.707 MB / 0.5493 GB, free: 24.7 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008266/0.3431, allocations: 0.5963 MB / 0.5499 GB, free: 24.47 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.3443, allocations: 0.9061 MB / 0.5508 GB, free: 23.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007574/0.3519, allocations: 4.133 MB / 0.5548 GB, free: 22.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.352, allocations: 0 / 0.5548 GB, free: 22.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.352, allocations: 0 / 0.5548 GB, free: 22.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.992e-05/0.352, allocations: 1.125 kB / 0.5548 GB, free: 22.63 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005654/0.3577, allocations: 2.488 MB / 0.5572 GB, free: 21.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3577, allocations: 9.75 kB / 0.5573 GB, free: 21.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/0.3583, allocations: 203.5 kB / 0.5575 GB, free: 21.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.3602, allocations: 1.124 MB / 0.5586 GB, free: 20.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.3604, allocations: 182.5 kB / 0.5587 GB, free: 20.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.3606, allocations: 117.4 kB / 0.5588 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/0.3637, allocations: 1.926 MB / 0.5607 GB, free: 19.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.3638, allocations: 4.219 kB / 0.5607 GB, free: 19.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.3639, allocations: 52.56 kB / 0.5608 GB, free: 19.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.3641, allocations: 116.8 kB / 0.5609 GB, free: 19.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.3672, allocations: 1.954 MB / 0.5628 GB, free: 18.45 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.01163/0.3788, allocations: 7.264 MB / 0.5699 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.3808, allocations: 1.398 MB / 0.5713 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.3819, allocations: 0.8455 MB / 0.5721 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005755/0.3877, allocations: 4.512 MB / 0.5765 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3877, allocations: 47.12 kB / 0.5765 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008636/0.3886, allocations: 219.7 kB / 0.5767 GB, free: 7.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 3.486e-06/0.3886, allocations: 0 / 0.5767 GB, free: 7.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.01773/0.4063, allocations: 6.592 MB / 0.5832 GB, free: 2.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.4064, allocations: 222.9 kB / 0.5834 GB, free: 2.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.4081, allocations: 1.371 MB / 0.5847 GB, free: 1.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.4083, allocations: 61.69 kB / 0.5848 GB, free: 1.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.4086, allocations: 0.6689 MB / 0.5854 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.4089, allocations: 457.4 kB / 0.5859 GB, free: 52 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005567/0.4095, allocations: 327.3 kB / 0.5862 GB, free: 15.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.4096, allocations: 305.1 kB / 0.5865 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.4109, allocations: 0.8401 MB / 0.5873 GB, free: 14.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.4124, allocations: 1.181 MB / 0.5885 GB, free: 13.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.4153, allocations: 1.948 MB / 0.5904 GB, free: 11.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.4153, allocations: 0 / 0.5904 GB, free: 11.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004376/0.4197, allocations: 2.613 MB / 0.5929 GB, free: 8.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.4197, allocations: 8 kB / 0.5929 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.4198, allocations: 8.625 kB / 0.5929 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008452/0.4282, allocations: 1.688 MB / 0.5946 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.4297, allocations: 331.5 kB / 0.5949 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/0.4325, allocations: 1.785 MB / 0.5966 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.4344, allocations: 87.84 kB / 0.5967 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.4346, allocations: 75.95 kB / 0.5968 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001855/0.4364, allocations: 1.101 MB / 0.5979 GB, free: 3.477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001522/0.438, allocations: 1.155 MB / 0.599 GB, free: 2.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002698/0.4407, allocations: 1.895 MB / 0.6008 GB, free: 164 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.023e-06/0.4407, allocations: 4 kB / 0.6008 GB, free: 160 kB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004339/0.4451, allocations: 2.444 MB / 0.6032 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4451, allocations: 12 kB / 0.6032 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.4451, allocations: 8.562 kB / 0.6032 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005075/0.4502, allocations: 1.05 MB / 0.6043 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4516, allocations: 355.4 kB / 0.6046 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.4537, allocations: 1.471 MB / 0.6061 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.4553, allocations: 99.78 kB / 0.6061 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.4555, allocations: 71.97 kB / 0.6062 GB, free: 10.61 MB / 426.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.0005634/0.4561, allocations: 279.8 kB / 0.6065 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.4564, allocations: 165.9 kB / 0.6066 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.4611, allocations: 2.568 MB / 0.6091 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.4611, allocations: 20 kB / 0.6092 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4611, allocations: 8.125 kB / 0.6092 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.4612, allocations: 7.969 kB / 0.6092 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.4678, allocations: 4.188 MB / 0.6133 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.4679, allocations: 4 kB / 0.6133 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.4689, allocations: 231.7 kB / 0.6135 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00513/0.474, allocations: 1.295 MB / 0.6148 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/0.4744, allocations: 39.98 kB / 0.6148 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.4769, allocations: 1.808 MB / 0.6166 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4769, allocations: 3.938 kB / 0.6166 GB, free: 15.89 MB / 442.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.3899/0.8668, allocations: 42.7 MB / 0.6583 GB, free: 4.82 MB / 474.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.