Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 86.09 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001177, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4008/0.4008, allocations: 40 MB / 310.4 MB, free: 9.906 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005415/0.0005416, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1412, allocations: 57.95 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.2967/0.438, allocations: 31.42 MB / 468.2 MB, free: 34.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02381/0.4619, allocations: 18.1 MB / 486.3 MB, free: 24.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.4645, allocations: 66.09 kB / 486.4 MB, free: 24.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.4668, allocations: 0.5751 MB / 487 MB, free: 24.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006767/0.4735, allocations: 2.378 MB / 489.3 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01295/0.4865, allocations: 4.064 MB / 493.4 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00836/0.4949, allocations: 5.416 MB / 498.8 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.4975, allocations: 1.097 MB / 499.9 MB, free: 19.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.5013, allocations: 1.53 MB / 0.4897 GB, free: 18.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/0.5052, allocations: 1.732 MB / 0.4914 GB, free: 17.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006552/0.5058, allocations: 95.03 kB / 0.4915 GB, free: 17.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006621/0.5125, allocations: 2.396 MB / 0.4938 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001729/0.5142, allocations: 0.5752 MB / 0.4944 GB, free: 17.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.5153, allocations: 351.4 kB / 0.4947 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007553/0.5229, allocations: 2.956 MB / 0.4976 GB, free: 16.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5229, allocations: 0 / 0.4976 GB, free: 16.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.523, allocations: 0 / 0.4976 GB, free: 16.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.67e-05/0.5231, allocations: 0 / 0.4976 GB, free: 16.22 MB / 382.1 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.008477/0.5315, allocations: 2.152 MB / 0.4997 GB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5316, allocations: 10.59 kB / 0.4997 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.5329, allocations: 197 kB / 0.4999 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.5356, allocations: 1.084 MB / 0.501 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.5358, allocations: 185.9 kB / 0.5011 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003265/0.5362, allocations: 114.1 kB / 0.5012 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/0.5402, allocations: 1.928 MB / 0.5031 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.5403, allocations: 9.031 kB / 0.5031 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.5405, allocations: 48.12 kB / 0.5032 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/0.5406, allocations: 113.6 kB / 0.5033 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.5442, allocations: 1.954 MB / 0.5052 GB, free: 12.04 MB / 382.1 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.01309/0.5573, allocations: 7.297 MB / 0.5123 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.5595, allocations: 1.398 MB / 0.5137 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.5609, allocations: 0.8479 MB / 0.5145 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006111/0.567, allocations: 4.531 MB / 0.5189 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.5671, allocations: 50.44 kB / 0.519 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001083/0.5682, allocations: 217.2 kB / 0.5192 GB, free: 1.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=118): time 4.809e-06/0.5682, allocations: 0 / 0.5192 GB, free: 1.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.02006/0.5882, allocations: 6.643 MB / 0.5257 GB, free: 13.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.5884, allocations: 226.9 kB / 0.5259 GB, free: 12.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.591, allocations: 1.36 MB / 0.5272 GB, free: 11.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003675/0.5914, allocations: 49.7 kB / 0.5273 GB, free: 11.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.5919, allocations: 0.6651 MB / 0.5279 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/0.5925, allocations: 461.3 kB / 0.5284 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.5927, allocations: 32 kB / 0.5284 GB, free: 10.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5928, allocations: 373.9 kB / 0.5288 GB, free: 10 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.5943, allocations: 0.8081 MB / 0.5295 GB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.5961, allocations: 1.158 MB / 0.5307 GB, free: 7.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.5977, allocations: 0.9344 MB / 0.5316 GB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.5977, allocations: 7.938 kB / 0.5316 GB, free: 6.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004581/0.6023, allocations: 2.567 MB / 0.5341 GB, free: 4.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.6027, allocations: 338.5 kB / 0.5344 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.6027, allocations: 8 kB / 0.5344 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009635/0.6124, allocations: 1.703 MB / 0.5361 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.6141, allocations: 339.5 kB / 0.5364 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.6177, allocations: 1.774 MB / 0.5381 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.6199, allocations: 99.78 kB / 0.5382 GB, free: 0 / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.6203, allocations: 80.03 kB / 0.5383 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6203, allocations: 4 kB / 0.5383 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005995/0.6263, allocations: 2.259 MB / 0.5405 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.506e-05/0.6264, allocations: 12 kB / 0.5405 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007658/0.6341, allocations: 1.07 MB / 0.5416 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.6369, allocations: 355.4 kB / 0.5419 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/0.6405, allocations: 1.474 MB / 0.5434 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.6437, allocations: 103.9 kB / 0.5435 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005061/0.6442, allocations: 75.91 kB / 0.5435 GB, free: 10.54 MB / 414.1 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.00184/0.6461, allocations: 484.6 kB / 0.544 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/0.6468, allocations: 166 kB / 0.5442 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007924/0.6547, allocations: 2.57 MB / 0.5467 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.6548, allocations: 16 kB / 0.5467 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.6548, allocations: 0 / 0.5467 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.6548, allocations: 7.969 kB / 0.5467 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.6671, allocations: 4.215 MB / 0.5508 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.6672, allocations: 0 / 0.5508 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.6687, allocations: 223.8 kB / 0.551 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007232/0.6759, allocations: 1.322 MB / 0.5523 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005002/0.6765, allocations: 43.97 kB / 0.5524 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.6805, allocations: 1.798 MB / 0.5541 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6805, allocations: 0 / 0.5541 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009245/0.6898, allocations: 3.47 MB / 0.5575 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/0.6917, allocations: 466.6 kB / 0.5579 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004909/0.6922, allocations: 35.98 kB / 0.558 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.6938, allocations: 99.78 kB / 0.5581 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.6941, allocations: 121.1 kB / 0.5582 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/0.6944, allocations: 59.92 kB / 0.5582 GB, free: 11.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001766/0.6961, allocations: 0.9109 MB / 0.5591 GB, free: 10.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6962, allocations: 0 / 0.5591 GB, free: 10.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006742/0.7029, allocations: 1.32 MB / 0.5604 GB, free: 9.098 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * 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 simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.003898/0.7069, allocations: 0.9548 MB / 0.5614 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009528/0.7164, allocations: 3.25 MB / 0.5645 GB, free: 4.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.7165, allocations: 7.859 kB / 0.5645 GB, free: 4.863 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002685/0.7192, allocations: 1.04 MB / 0.5656 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/0.7229, allocations: 0.733 MB / 0.5663 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/0.7298, allocations: 4.136 MB / 0.5703 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.7309, allocations: 1.383 MB / 0.5717 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002463/0.7333, allocations: 0.6382 MB / 0.5723 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.7338, allocations: 147.4 kB / 0.5724 GB, free: 12.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.014e-06/0.7338, allocations: 0 / 0.5724 GB, free: 12.73 MB / 446.1 MB Notification: Performance of Templates: time 0.07452/0.8083, allocations: 47.38 MB / 0.6187 GB, free: 13.33 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) Environment - environmentSimulation: