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.001575/0.001575, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00174/0.00174, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001984/0.001984, allocations: 60.77 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2728, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03382/0.3066, allocations: 28.41 MB / 460.8 MB, free: 10.43 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01362/0.3202, allocations: 7.629 MB / 468.4 MB, free: 2.777 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.3225, allocations: 67.44 kB / 468.5 MB, free: 2.711 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003313/0.3258, allocations: 1.033 MB / 469.5 MB, free: 1.672 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00526/0.331, allocations: 1.67 MB / 471.2 MB, free: 15.99 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.005787/0.3368, allocations: 2.214 MB / 473.4 MB, free: 13.79 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007457/0.3443, allocations: 5.106 MB / 478.5 MB, free: 8.676 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.3477, allocations: 1.714 MB / 480.2 MB, free: 6.918 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.3514, allocations: 1.818 MB / 482.1 MB, free: 5.094 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.3545, allocations: 1.739 MB / 483.8 MB, free: 3.348 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0009773/0.3555, allocations: 308 kB / 484.1 MB, free: 3.047 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.3583, allocations: 1.014 MB / 485.1 MB, free: 2.031 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001293/0.3596, allocations: 0.8763 MB / 486 MB, free: 1.152 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002602/0.3622, allocations: 1.396 MB / 487.4 MB, free: 15.75 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007114/0.3693, allocations: 4.28 MB / 491.7 MB, free: 11.46 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3693, allocations: 4 kB / 491.7 MB, free: 11.46 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.254e-06/0.3693, allocations: 0 / 491.7 MB, free: 11.46 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.428e-05/0.3694, allocations: 4 kB / 491.7 MB, free: 11.45 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.006112/0.3755, allocations: 3.117 MB / 494.8 MB, free: 8.215 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3756, allocations: 8.031 kB / 494.8 MB, free: 8.207 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.3771, allocations: 371.1 kB / 495.2 MB, free: 7.844 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.3795, allocations: 1.401 MB / 496.6 MB, free: 6.398 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.3798, allocations: 307.5 kB / 496.9 MB, free: 6.07 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/0.3801, allocations: 224 kB / 497.1 MB, free: 5.852 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004678/0.3848, allocations: 2.748 MB / 499.8 MB, free: 2.941 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/0.3849, allocations: 7.938 kB / 499.8 MB, free: 2.934 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.3851, allocations: 91.98 kB / 499.9 MB, free: 2.844 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.3852, allocations: 103.7 kB / 0.4883 GB, free: 2.742 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003934/0.3891, allocations: 2.2 MB / 0.4905 GB, free: 0.5391 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.01555/0.4047, allocations: 10.94 MB / 0.5011 GB, free: 5.234 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.4076, allocations: 1.673 MB / 0.5028 GB, free: 3.473 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.4092, allocations: 0.9778 MB / 0.5037 GB, free: 2.477 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.007817/0.417, allocations: 4.126 MB / 0.5078 GB, free: 14.32 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00242/0.4195, allocations: 1.508 MB / 0.5092 GB, free: 12.73 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=205): time 4.038e-06/0.4195, allocations: 0 / 0.5092 GB, free: 12.73 MB / 430.1 MB
Notification: Performance of matching and sorting (n=215): time 0.01687/0.4363, allocations: 8.403 MB / 0.5174 GB, free: 4.23 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006222/0.437, allocations: 0.7672 MB / 0.5182 GB, free: 3.293 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.4399, allocations: 1.671 MB / 0.5198 GB, free: 1.609 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003993/0.4402, allocations: 125.7 kB / 0.5199 GB, free: 1.48 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0008995/0.4411, allocations: 0.9185 MB / 0.5208 GB, free: 0.5508 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0007221/0.4419, allocations: 0.6278 MB / 0.5214 GB, free: 15.92 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008632/0.4427, allocations: 0.5563 MB / 0.522 GB, free: 15.36 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001472/0.4429, allocations: 313.1 kB / 0.5223 GB, free: 15.05 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.4446, allocations: 0.954 MB / 0.5232 GB, free: 14.09 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.4471, allocations: 1.674 MB / 0.5249 GB, free: 12.12 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/0.4511, allocations: 2.571 MB / 0.5274 GB, free: 9.258 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.4511, allocations: 8 kB / 0.5274 GB, free: 9.25 MB / 446.1 MB
Notification: Performance of matching and sorting (n=350) (initialization): time 0.005903/0.457, allocations: 3.139 MB / 0.5304 GB, free: 6.074 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 9.516e-05/0.4571, allocations: 102 kB / 0.5305 GB, free: 5.957 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.4571, allocations: 20 kB / 0.5306 GB, free: 5.938 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.4584, allocations: 0.584 MB / 0.5311 GB, free: 5.344 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.4599, allocations: 391.2 kB / 0.5315 GB, free: 4.961 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.4623, allocations: 2.266 MB / 0.5337 GB, free: 2.617 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.4638, allocations: 124 kB / 0.5338 GB, free: 2.496 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.464, allocations: 120 kB / 0.5339 GB, free: 2.379 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.001354/0.4654, allocations: 0.8052 MB / 0.5347 GB, free: 1.535 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004876/0.4659, allocations: 218.7 kB / 0.5349 GB, free: 1.32 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2151/0.681, allocations: 3.035 MB / 0.5379 GB, free: 105 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/0.681, allocations: 28.19 kB / 0.5379 GB, free: 105 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.681, allocations: 7.641 kB / 0.5379 GB, free: 105 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/0.6811, allocations: 12.02 kB / 0.5379 GB, free: 105 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008083/0.6892, allocations: 5.373 MB / 0.5432 GB, free: 102.8 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6892, allocations: 1.375 kB / 0.5432 GB, free: 102.8 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009709/0.6901, allocations: 249.1 kB / 0.5434 GB, free: 102.8 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000887/0.691, allocations: 0.5538 MB / 0.544 GB, free: 102.7 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.6912, allocations: 63.38 kB / 0.544 GB, free: 102.7 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.6927, allocations: 2.242 MB / 0.5462 GB, free: 100.9 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6927, allocations: 3.969 kB / 0.5462 GB, free: 100.9 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.698, allocations: 4.197 MB / 0.5503 GB, free: 99.13 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.699, allocations: 468.4 kB / 0.5508 GB, free: 99 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/0.6993, allocations: 78.66 kB / 0.5508 GB, free: 98.96 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.7003, allocations: 92.97 kB / 0.5509 GB, free: 98.94 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000437/0.7008, allocations: 259.6 kB / 0.5512 GB, free: 98.78 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.7009, allocations: 93.61 kB / 0.5513 GB, free: 98.75 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.001148/0.7021, allocations: 1.051 MB / 0.5523 GB, free: 98.2 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.7021, allocations: 0 / 0.5523 GB, free: 98.2 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.00155/0.7036, allocations: 0.6937 MB / 0.553 GB, free: 97.83 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.002023/0.7056, allocations: 0.8354 MB / 0.5538 GB, free: 97.29 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004008/0.7097, allocations: 2.64 MB / 0.5564 GB, free: 94.63 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.7097, allocations: 3.047 kB / 0.5564 GB, free: 94.63 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002402/0.7121, allocations: 1.531 MB / 0.5579 GB, free: 93.07 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/0.7149, allocations: 0.7759 MB / 0.5586 GB, free: 92.34 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.7219, allocations: 4.521 MB / 0.563 GB, free: 87.85 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.7226, allocations: 1.595 MB / 0.5646 GB, free: 86.22 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001615/0.7243, allocations: 0.545 MB / 0.5651 GB, free: 85.67 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.7248, allocations: 223.3 kB / 0.5653 GB, free: 85.45 MB / 446.1 MB
Notification: Performance of SimCode: time 6.82e-07/0.7248, allocations: 0 / 0.5653 GB, free: 85.45 MB / 446.1 MB
Notification: Performance of Templates: time 0.05719/0.782, allocations: 45.34 MB / 0.6096 GB, free: 40.52 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/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: 6.6636803727597]