Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004282/0.004281, allocations: 368.3 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.048/4.048, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003623/0.003622, allocations: 229.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.494/0.494, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 12.75 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 54.88 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.06045/0.17, allocations: 31.15 MB / 0.7105 GB, free: 10.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3936/0.5636, allocations: 18 MB / 0.7281 GB, free: 13.42 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.5665, allocations: 64.38 kB / 0.7282 GB, free: 13.42 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.5692, allocations: 0.5577 MB / 0.7287 GB, free: 13.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009393/0.5786, allocations: 2.425 MB / 0.7311 GB, free: 13.29 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01637/0.5951, allocations: 4.049 MB / 0.735 GB, free: 12.92 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009494/0.6046, allocations: 5.397 MB / 0.7403 GB, free: 12.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002967/0.6076, allocations: 1.092 MB / 0.7414 GB, free: 12.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004405/0.612, allocations: 1.433 MB / 0.7428 GB, free: 11.61 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004852/0.6169, allocations: 1.727 MB / 0.7444 GB, free: 10.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008627/0.6179, allocations: 95.66 kB / 0.7445 GB, free: 10.99 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008191/0.6261, allocations: 2.391 MB / 0.7469 GB, free: 10.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.6277, allocations: 0.5747 MB / 0.7474 GB, free: 10.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.6288, allocations: 347.6 kB / 0.7478 GB, free: 9.934 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007225/0.6361, allocations: 2.942 MB / 0.7506 GB, free: 8.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6361, allocations: 0 / 0.7506 GB, free: 8.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6362, allocations: 0 / 0.7506 GB, free: 8.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.703e-05/0.6363, allocations: 0 / 0.7506 GB, free: 8.578 MB / 346.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.00912/0.6454, allocations: 2.153 MB / 0.7527 GB, free: 7.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6455, allocations: 8.812 kB / 0.7528 GB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.6468, allocations: 200.5 kB / 0.7529 GB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.6502, allocations: 1.078 MB / 0.754 GB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.6505, allocations: 187.2 kB / 0.7542 GB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/0.6509, allocations: 115.5 kB / 0.7543 GB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006058/0.657, allocations: 1.931 MB / 0.7562 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.191e-05/0.6571, allocations: 3.938 kB / 0.7562 GB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.6574, allocations: 51.45 kB / 0.7562 GB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002749/0.6577, allocations: 115.1 kB / 0.7563 GB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/0.6644, allocations: 1.951 MB / 0.7582 GB, free: 5.426 MB / 346.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.02225/0.6868, allocations: 7.331 MB / 0.7654 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004413/0.6912, allocations: 1.393 MB / 0.7668 GB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002799/0.6941, allocations: 0.8402 MB / 0.7676 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/0.7064, allocations: 4.573 MB / 0.772 GB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/0.7066, allocations: 47.56 kB / 0.7721 GB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001788/0.7083, allocations: 222.5 kB / 0.7723 GB, free: 7.074 MB / 362.7 MB Notification: Performance of pre-optimization done (n=118): time 7.234e-06/0.7084, allocations: 0 / 0.7723 GB, free: 7.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=133): time 0.03903/0.7474, allocations: 6.652 MB / 0.7788 GB, free: 408 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.7476, allocations: 222.9 kB / 0.779 GB, free: 132 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/0.7507, allocations: 1.352 MB / 0.7803 GB, free: 14.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004072/0.7511, allocations: 53.7 kB / 0.7804 GB, free: 14.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008362/0.7519, allocations: 0.6626 MB / 0.781 GB, free: 14.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007609/0.7527, allocations: 464.2 kB / 0.7815 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.7529, allocations: 28 kB / 0.7815 GB, free: 13.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.7532, allocations: 377.9 kB / 0.7819 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/0.7557, allocations: 0.8081 MB / 0.7826 GB, free: 12.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/0.7587, allocations: 1.164 MB / 0.7838 GB, free: 11.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.7616, allocations: 0.9344 MB / 0.7847 GB, free: 10.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.7616, allocations: 3.938 kB / 0.7847 GB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008202/0.7698, allocations: 2.578 MB / 0.7872 GB, free: 7.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003179/0.7702, allocations: 344.5 kB / 0.7875 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.7702, allocations: 8 kB / 0.7876 GB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01734/0.7876, allocations: 1.69 MB / 0.7892 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/0.7906, allocations: 335.5 kB / 0.7895 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/0.7959, allocations: 1.782 MB / 0.7913 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.7989, allocations: 98.09 kB / 0.7914 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.7993, allocations: 79.95 kB / 0.7914 GB, free: 3.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7993, allocations: 4 kB / 0.7914 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007434/0.8067, allocations: 2.156 MB / 0.7935 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.417e-05/0.8068, allocations: 16 kB / 0.7936 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.8171, allocations: 0.9716 MB / 0.7945 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.8202, allocations: 351.4 kB / 0.7948 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00332/0.8236, allocations: 1.33 MB / 0.7961 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.8262, allocations: 99.8 kB / 0.7962 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/0.8266, allocations: 75.95 kB / 0.7963 GB, free: 14.1 MB / 394.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.001395/0.828, allocations: 0.4932 MB / 0.7968 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005374/0.8286, allocations: 165.9 kB / 0.797 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00862/0.8372, allocations: 2.561 MB / 0.7995 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.926e-05/0.8373, allocations: 3.984 kB / 0.7995 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.8373, allocations: 7.984 kB / 0.7995 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.8391, allocations: 466.6 kB / 0.7999 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006988/0.8398, allocations: 28 kB / 0.7999 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002728/0.8425, allocations: 103.8 kB / 0.8 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006185/0.8432, allocations: 121.1 kB / 0.8001 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01127/0.8545, allocations: 2.503 MB / 0.8026 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009685/0.8642, allocations: 2.954 MB / 0.8055 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0026/0.8669, allocations: 0.8495 MB / 0.8063 GB, free: 3.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002237/0.8692, allocations: 0.9109 MB / 0.8072 GB, free: 2.926 MB / 394.7 MB Notification: Performance of Backend: time 1.423e-06/0.8692, allocations: 0 / 0.8072 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01588/0.8851, allocations: 3.453 MB / 0.8106 GB, free: 15.54 MB / 410.7 MB Notification: Performance of SimCode: time 0.01414/0.8993, allocations: 4.79 MB / 0.8152 GB, free: 10.71 MB / 410.7 MB Notification: Performance of Templates: time 0.1562/1.056, allocations: 50.56 MB / 0.8646 GB, free: 8.336 MB / 458.7 MB