Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009106/0.009106, allocations: 106 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 212 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 259 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.88 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.246, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03306/0.2791, allocations: 28.4 MB / 461.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.2928, allocations: 7.631 MB / 469.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.295, allocations: 67.44 kB / 469.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.2983, allocations: 1.037 MB / 470.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005356/0.3036, allocations: 1.675 MB / 472 MB, free: 32 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006292/0.3099, allocations: 2.209 MB / 474.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008186/0.3181, allocations: 5.106 MB / 479.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003702/0.3218, allocations: 1.721 MB / 481 MB, free: 6.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004156/0.3259, allocations: 1.822 MB / 482.8 MB, free: 5.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/0.3293, allocations: 1.728 MB / 484.6 MB, free: 3.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009418/0.3303, allocations: 312 kB / 484.9 MB, free: 3.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.3331, allocations: 1.022 MB / 485.9 MB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.3341, allocations: 0.8685 MB / 486.8 MB, free: 1.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.336, allocations: 1.396 MB / 488.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006218/0.3422, allocations: 4.283 MB / 492.4 MB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3422, allocations: 3.984 kB / 492.4 MB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3422, allocations: 0 / 492.4 MB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-05/0.3423, allocations: 0 / 492.4 MB, free: 11.49 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007292/0.3496, allocations: 3.117 MB / 495.6 MB, free: 8.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3496, allocations: 12.03 kB / 495.6 MB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.3513, allocations: 367.1 kB / 495.9 MB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.3539, allocations: 1.397 MB / 497.3 MB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.3542, allocations: 315.5 kB / 497.6 MB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.3546, allocations: 224 kB / 497.8 MB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004963/0.3595, allocations: 2.75 MB / 0.4889 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.3596, allocations: 3.938 kB / 0.4889 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.3598, allocations: 95.97 kB / 0.489 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.3599, allocations: 103.7 kB / 0.4891 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/0.3644, allocations: 2.196 MB / 0.4912 GB, free: 0.5742 MB / 398.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.01784/0.3822, allocations: 10.94 MB / 0.5019 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.3853, allocations: 1.658 MB / 0.5035 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.3871, allocations: 0.9818 MB / 0.5045 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0084/0.3955, allocations: 4.126 MB / 0.5085 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002571/0.398, allocations: 1.516 MB / 0.51 GB, free: 12.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 5.19e-06/0.398, allocations: 0 / 0.51 GB, free: 12.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.01702/0.4151, allocations: 8.396 MB / 0.5182 GB, free: 4.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004956/0.4156, allocations: 0.7674 MB / 0.5189 GB, free: 3.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.4181, allocations: 1.671 MB / 0.5206 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004519/0.4186, allocations: 125.7 kB / 0.5207 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000893/0.4194, allocations: 0.9186 MB / 0.5216 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008397/0.4203, allocations: 0.6278 MB / 0.5222 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008738/0.4212, allocations: 0.5602 MB / 0.5227 GB, free: 15.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4213, allocations: 305.1 kB / 0.523 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4231, allocations: 0.9579 MB / 0.524 GB, free: 14.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.4256, allocations: 1.674 MB / 0.5256 GB, free: 12.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/0.4297, allocations: 2.575 MB / 0.5281 GB, free: 9.293 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.4297, allocations: 4 kB / 0.5281 GB, free: 9.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006211/0.436, allocations: 3.139 MB / 0.5312 GB, free: 6.117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.4361, allocations: 109.1 kB / 0.5313 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.4361, allocations: 20 kB / 0.5313 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.4374, allocations: 0.5808 MB / 0.5319 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.4389, allocations: 391.2 kB / 0.5322 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.4415, allocations: 2.27 MB / 0.5345 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.4432, allocations: 127.9 kB / 0.5346 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.4434, allocations: 124 kB / 0.5347 GB, free: 2.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 186 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001547/0.445, allocations: 0.7974 MB / 0.5355 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005183/0.4455, allocations: 222.7 kB / 0.5357 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2323/0.6778, allocations: 3.023 MB / 0.5386 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/0.6778, allocations: 28.19 kB / 0.5387 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.6778, allocations: 2.844 kB / 0.5387 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.6779, allocations: 17.17 kB / 0.5387 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00946/0.6873, allocations: 5.374 MB / 0.5439 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.6873, allocations: 1.375 kB / 0.5439 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.6884, allocations: 245.2 kB / 0.5442 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.6894, allocations: 0.5568 MB / 0.5447 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.6896, allocations: 70.97 kB / 0.5448 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.6912, allocations: 2.237 MB / 0.547 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6912, allocations: 3 kB / 0.547 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006766/0.698, allocations: 4.199 MB / 0.5511 GB, free: 99.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.6991, allocations: 466 kB / 0.5515 GB, free: 99.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/0.6994, allocations: 83.47 kB / 0.5516 GB, free: 99.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.7005, allocations: 93.03 kB / 0.5517 GB, free: 99.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000484/0.701, allocations: 257.1 kB / 0.5519 GB, free: 99.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.7012, allocations: 87.53 kB / 0.552 GB, free: 99.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.7024, allocations: 1.057 MB / 0.553 GB, free: 98.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7024, allocations: 2.312 kB / 0.553 GB, free: 98.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001982/0.7044, allocations: 0.6907 MB / 0.5537 GB, free: 98.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002265/0.7067, allocations: 0.8366 MB / 0.5545 GB, free: 97.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004583/0.7112, allocations: 2.642 MB / 0.5571 GB, free: 95.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.7113, allocations: 7.594 kB / 0.5571 GB, free: 95.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.7137, allocations: 1.449 MB / 0.5585 GB, free: 93.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.717, allocations: 0.7758 MB / 0.5593 GB, free: 93.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007932/0.7249, allocations: 4.588 MB / 0.5638 GB, free: 88.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/0.7257, allocations: 1.571 MB / 0.5653 GB, free: 86.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008328/0.7265, allocations: 239.3 kB / 0.5655 GB, free: 86.67 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7265, allocations: 0 / 0.5655 GB, free: 86.67 MB / 446.1 MB Notification: Performance of Templates: time 0.06563/0.7922, allocations: 68.09 MB / 0.632 GB, free: 18.67 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.281591243110597]