Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003854/0.003854, allocations: 349.1 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.512/3.512, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003567/0.003567, allocations: 221.2 kB / 397.9 MB, free: 4.996 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4983/0.4983, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000686/0.0006862, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1144, allocations: 48.7 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.3704/0.4848, allocations: 31.12 MB / 0.6371 GB, free: 73.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03654/0.5215, allocations: 18.04 MB / 0.6548 GB, free: 60.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.5245, allocations: 62.94 kB / 0.6548 GB, free: 60.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.5274, allocations: 0.5487 MB / 0.6554 GB, free: 60.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009532/0.537, allocations: 2.44 MB / 0.6577 GB, free: 58.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01649/0.5535, allocations: 4.064 MB / 0.6617 GB, free: 55.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008136/0.5617, allocations: 5.393 MB / 0.667 GB, free: 51.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.5641, allocations: 1.087 MB / 0.668 GB, free: 50.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.5677, allocations: 1.436 MB / 0.6694 GB, free: 48.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.5716, allocations: 1.728 MB / 0.6711 GB, free: 47.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008125/0.5725, allocations: 99.98 kB / 0.6712 GB, free: 47.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00715/0.5797, allocations: 2.383 MB / 0.6735 GB, free: 44.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.5811, allocations: 0.5724 MB / 0.6741 GB, free: 44.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008374/0.582, allocations: 348.8 kB / 0.6744 GB, free: 43.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006212/0.5882, allocations: 2.947 MB / 0.6773 GB, free: 40.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.5882, allocations: 4 kB / 0.6773 GB, free: 40.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5883, allocations: 0 / 0.6773 GB, free: 40.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.969e-05/0.5883, allocations: 0.8438 kB / 0.6773 GB, free: 40.82 MB / 362.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.007969/0.5963, allocations: 2.147 MB / 0.6794 GB, free: 38.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5964, allocations: 11.97 kB / 0.6794 GB, free: 38.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.5974, allocations: 205.7 kB / 0.6796 GB, free: 38.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.6003, allocations: 1.068 MB / 0.6807 GB, free: 37.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.6005, allocations: 187.2 kB / 0.6808 GB, free: 37.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/0.601, allocations: 112 kB / 0.681 GB, free: 36.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004918/0.6059, allocations: 1.927 MB / 0.6828 GB, free: 34.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.606, allocations: 3.906 kB / 0.6828 GB, free: 34.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.6063, allocations: 54.78 kB / 0.6829 GB, free: 34.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002325/0.6065, allocations: 114.2 kB / 0.683 GB, free: 34.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00556/0.6121, allocations: 1.961 MB / 0.6849 GB, free: 32.82 MB / 362.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.02157/0.6337, allocations: 7.313 MB / 0.6921 GB, free: 25.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.6373, allocations: 1.403 MB / 0.6934 GB, free: 23.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.6396, allocations: 0.8516 MB / 0.6943 GB, free: 22.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009942/0.6495, allocations: 4.549 MB / 0.6987 GB, free: 17.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.6497, allocations: 55.5 kB / 0.6988 GB, free: 17.88 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001483/0.6511, allocations: 229.1 kB / 0.699 GB, free: 17.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=118): time 6.442e-06/0.6512, allocations: 0 / 0.699 GB, free: 17.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=133): time 0.03487/0.6861, allocations: 6.638 MB / 0.7055 GB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.6862, allocations: 226.9 kB / 0.7057 GB, free: 10.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.6887, allocations: 1.363 MB / 0.707 GB, free: 9.312 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004049/0.6891, allocations: 57.7 kB / 0.7071 GB, free: 9.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.6897, allocations: 0.6573 MB / 0.7077 GB, free: 8.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.6904, allocations: 465.3 kB / 0.7081 GB, free: 8.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.6906, allocations: 32 kB / 0.7082 GB, free: 8.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6907, allocations: 365.9 kB / 0.7085 GB, free: 7.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.6931, allocations: 0.8159 MB / 0.7093 GB, free: 6.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.6958, allocations: 1.158 MB / 0.7104 GB, free: 5.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002649/0.6985, allocations: 0.9383 MB / 0.7114 GB, free: 4.695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.6985, allocations: 4 kB / 0.7114 GB, free: 4.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007637/0.7062, allocations: 2.574 MB / 0.7139 GB, free: 2.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.7064, allocations: 340.1 kB / 0.7142 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.32e-05/0.7065, allocations: 8 kB / 0.7142 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01668/0.7231, allocations: 1.695 MB / 0.7159 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/0.7261, allocations: 335.5 kB / 0.7162 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005378/0.7315, allocations: 1.778 MB / 0.7179 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.7344, allocations: 104 kB / 0.718 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004853/0.7349, allocations: 75.95 kB / 0.7181 GB, free: 13.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7349, allocations: 7.938 kB / 0.7181 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007641/0.7426, allocations: 2.156 MB / 0.7202 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/0.7427, allocations: 8 kB / 0.7202 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/0.754, allocations: 0.9735 MB / 0.7212 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/0.7572, allocations: 351.5 kB / 0.7215 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.7605, allocations: 1.338 MB / 0.7228 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.763, allocations: 95.84 kB / 0.7229 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/0.7634, allocations: 75.97 kB / 0.723 GB, free: 8.648 MB / 378.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 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 24} Notification: Performance of prepare postOptimizeDAE: time 0.001391/0.7648, allocations: 494.6 kB / 0.7234 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005526/0.7653, allocations: 166 kB / 0.7236 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008697/0.7741, allocations: 2.573 MB / 0.7261 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-05/0.7741, allocations: 7.969 kB / 0.7261 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.7742, allocations: 4 kB / 0.7261 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.7758, allocations: 462.6 kB / 0.7266 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000635/0.7765, allocations: 35.44 kB / 0.7266 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/0.7788, allocations: 99.83 kB / 0.7267 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/0.7793, allocations: 117.1 kB / 0.7268 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01075/0.7901, allocations: 2.509 MB / 0.7293 GB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009096/0.7992, allocations: 2.951 MB / 0.7321 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002618/0.8019, allocations: 0.8534 MB / 0.733 GB, free: 14.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002175/0.8041, allocations: 0.9109 MB / 0.7339 GB, free: 13.46 MB / 394.7 MB Notification: Performance of Backend: time 1.332e-06/0.8041, allocations: 0 / 0.7339 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01667/0.8208, allocations: 3.437 MB / 0.7372 GB, free: 10.02 MB / 394.7 MB Notification: Performance of SimCode: time 0.01853/0.8394, allocations: 4.813 MB / 0.7419 GB, free: 5.234 MB / 394.7 MB Notification: Performance of Templates: time 0.4543/1.294, allocations: 50.57 MB / 0.7913 GB, free: 116.3 MB / 410.7 MB