Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002417/0.002417, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002743/0.002743, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.599e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006741/0.006767, allocations: 3.742 MB / 271 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005305/0.01207, allocations: 2.56 MB / 273.6 MB, free: 424 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.01275, allocations: 39.75 kB / 273.6 MB, free: 384 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.01449, allocations: 0.5714 MB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.01584, allocations: 461.5 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.01845, allocations: 1.131 MB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.02182, allocations: 2.188 MB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.02362, allocations: 1.038 MB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.02539, allocations: 1.092 MB / 280.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.02646, allocations: 0.5959 MB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.02687, allocations: 200 kB / 280.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006346/0.0275, allocations: 303.8 kB / 281.2 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006011/0.0281, allocations: 0.4947 MB / 281.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008347/0.02894, allocations: 0.5143 MB / 282.2 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.03227, allocations: 2.438 MB / 284.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.03227, allocations: 0 / 284.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.03227, allocations: 4 kB / 284.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.393e-05/0.03234, allocations: 0 / 284.6 MB, free: 5.312 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.003893/0.03623, allocations: 2.128 MB / 286.8 MB, free: 3.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.03627, allocations: 8.922 kB / 286.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005234/0.03679, allocations: 275.9 kB / 287 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.03843, allocations: 0.8267 MB / 287.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.03873, allocations: 285.6 kB / 288.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.03897, allocations: 144.4 kB / 288.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1246/0.1635, allocations: 1.665 MB / 290 MB, free: 31.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.1636, allocations: 3.844 kB / 290 MB, free: 31.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.1637, allocations: 58.84 kB / 290 MB, free: 31.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/0.1638, allocations: 47.09 kB / 290.1 MB, free: 31.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.1656, allocations: 1.016 MB / 291.1 MB, free: 30.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006151/0.1718, allocations: 7.413 MB / 298.5 MB, free: 25.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.1734, allocations: 1.122 MB / 299.6 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.1742, allocations: 0.5649 MB / 300.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.1743, allocations: 28.09 kB / 300.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.1756, allocations: 1.063 MB / 301.3 MB, free: 23.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 3.387e-06/0.1756, allocations: 0 / 301.3 MB, free: 23.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.002749/0.1784, allocations: 1.687 MB / 303 MB, free: 23.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.1785, allocations: 0.5249 MB / 303.5 MB, free: 22.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.1799, allocations: 1.168 MB / 304.7 MB, free: 21.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.18, allocations: 111 kB / 304.8 MB, free: 21.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.1804, allocations: 0.6386 MB / 305.4 MB, free: 21.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.1807, allocations: 417.1 kB / 305.8 MB, free: 21.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007009/0.1814, allocations: 0.5953 MB / 306.4 MB, free: 20.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1816, allocations: 0.5922 MB / 307 MB, free: 20.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.1823, allocations: 0.4989 MB / 307.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009785/0.1833, allocations: 1.234 MB / 308.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.1847, allocations: 1.511 MB / 310.2 MB, free: 17.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.1847, allocations: 2.969 kB / 310.2 MB, free: 17.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002135/0.1869, allocations: 1.681 MB / 311.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.1869, allocations: 103.8 kB / 312 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.187, allocations: 12 kB / 312 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.187, allocations: 20 kB / 312.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.1876, allocations: 203.4 kB / 312.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.1876, allocations: 27.92 kB / 312.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.1881, allocations: 143 kB / 312.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.1882, allocations: 83.97 kB / 312.5 MB, free: 15.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.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],$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,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.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.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.stateGraphRoot.suspend,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,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.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005765/0.1888, allocations: 0.6126 MB / 313.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.189, allocations: 172.9 kB / 313.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.1907, allocations: 1.285 MB / 314.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.1907, allocations: 12 kB / 314.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1907, allocations: 8 kB / 314.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.1907, allocations: 11.97 kB / 314.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.1943, allocations: 2.907 MB / 317.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1943, allocations: 0 / 317.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.1946, allocations: 83.77 kB / 317.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1946, allocations: 4 kB / 317.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.1947, allocations: 43.95 kB / 317.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1947, allocations: 8 kB / 317.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1947, allocations: 11.88 kB / 317.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.1971, allocations: 2.203 MB / 319.9 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.1975, allocations: 236.7 kB / 320.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.1977, allocations: 55.97 kB / 320.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.1981, allocations: 43.97 kB / 320.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.1983, allocations: 163.9 kB / 320.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.1984, allocations: 57.27 kB / 320.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005287/0.199, allocations: 0.5576 MB / 321 MB, free: 7.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.199, allocations: 0 / 321 MB, free: 7.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009242/0.1999, allocations: 347.2 kB / 321.3 MB, free: 6.754 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (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.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,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],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.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,tankController.makeProduct.T1.t_start,tankController.makeProduct.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 clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003071/0.203, allocations: 0.5961 MB / 321.9 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.2048, allocations: 1.634 MB / 323.5 MB, free: 4.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2049, allocations: 4.312 kB / 323.5 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008027/0.2057, allocations: 0.8657 MB / 324.4 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.2066, allocations: 264.5 kB / 324.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.2095, allocations: 2.347 MB / 327 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.2099, allocations: 0.5571 MB / 327.6 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000489/0.2104, allocations: 193.6 kB / 327.8 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.2107, allocations: 120.4 kB / 327.9 MB, free: 156 kB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2107, allocations: 0 / 327.9 MB, free: 156 kB / 266.7 MB Notification: Performance of Templates: time 0.04236/0.253, allocations: 15.73 MB / 343.6 MB, free: 0.5742 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.997159178019501]