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.001097/0.001097, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001223/0.001223, allocations: 150.6 kB / 24.81 MB, free: 9.277 MB / 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.002/1.002, allocations: 173.4 MB / 201.4 MB, free: 9.18 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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.804e-06/1.804e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.507e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004109/0.004134, allocations: 3.671 MB / 272 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.007562, allocations: 2.548 MB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006876/0.00825, allocations: 35.75 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.009326, allocations: 0.5754 MB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.01019, allocations: 477.3 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.012, allocations: 1.119 MB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.01415, allocations: 2.188 MB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.01545, allocations: 1.038 MB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.01737, allocations: 1.199 MB / 281.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.01798, allocations: 0.5257 MB / 281.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.01822, allocations: 192 kB / 281.9 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.01865, allocations: 303.7 kB / 282.2 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.01897, allocations: 486.6 kB / 282.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004623/0.01943, allocations: 0.4909 MB / 283.2 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.02096, allocations: 1.378 MB / 284.6 MB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.02096, allocations: 0 / 284.6 MB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02096, allocations: 0 / 284.6 MB, free: 5.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.02099, allocations: 0 / 284.6 MB, free: 5.969 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.001958/0.02294, allocations: 1.961 MB / 286.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.02298, allocations: 8.922 kB / 286.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.02329, allocations: 275.9 kB / 286.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.02423, allocations: 0.941 MB / 287.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.02439, allocations: 281.7 kB / 288 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.02452, allocations: 144.4 kB / 288.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.02616, allocations: 1.172 MB / 289.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.02619, allocations: 0 / 289.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.0263, allocations: 55.94 kB / 289.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.02637, allocations: 50.17 kB / 289.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.02724, allocations: 495.9 kB / 289.9 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1363/0.1636, allocations: 5.875 MB / 295.8 MB, free: 21.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.1647, allocations: 0.8093 MB / 296.6 MB, free: 20.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.1651, allocations: 383.8 kB / 297 MB, free: 20.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1652, allocations: 32.14 kB / 297 MB, free: 20.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008732/0.1661, allocations: 0.8262 MB / 297.8 MB, free: 20.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 5.269e-06/0.1661, allocations: 0 / 297.8 MB, free: 20.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.001737/0.1678, allocations: 1.238 MB / 299.1 MB, free: 19.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.1679, allocations: 0.529 MB / 299.6 MB, free: 19.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009193/0.1688, allocations: 0.7905 MB / 300.4 MB, free: 19.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.169, allocations: 114.6 kB / 300.5 MB, free: 18.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.1694, allocations: 0.5894 MB / 301.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.1697, allocations: 355.2 kB / 301.4 MB, free: 18.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/0.1703, allocations: 412 kB / 301.9 MB, free: 18.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1704, allocations: 0.5393 MB / 302.4 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.1708, allocations: 279.2 kB / 302.7 MB, free: 17.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.1714, allocations: 0.9397 MB / 303.6 MB, free: 17.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.1725, allocations: 1.14 MB / 304.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.1725, allocations: 3.844 kB / 304.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001673/0.1742, allocations: 1.265 MB / 306 MB, free: 15.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.1742, allocations: 103.2 kB / 306.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.1742, allocations: 12.64 kB / 306.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.339e-05/0.1743, allocations: 20.66 kB / 306.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.1748, allocations: 198.5 kB / 306.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.1748, allocations: 30.41 kB / 306.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/0.1753, allocations: 155.3 kB / 306.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.1754, allocations: 62.22 kB / 306.6 MB, free: 15.8 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,tankController.makeProduct.T2.condition,tankController.makeProduct.T4.condition,stateGraphRoot.suspend,stateGraphRoot.resume) * 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.0005084/0.176, allocations: 478.9 kB / 307 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.1762, allocations: 166.8 kB / 307.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.1774, allocations: 1.002 MB / 308.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.1774, allocations: 12.88 kB / 308.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1774, allocations: 2.656 kB / 308.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.1774, allocations: 12.95 kB / 308.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.1799, allocations: 2.028 MB / 310.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1799, allocations: 0 / 310.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.1801, allocations: 83.67 kB / 310.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.1801, allocations: 5.094 kB / 310.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.1802, allocations: 47.27 kB / 310.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1802, allocations: 5.531 kB / 310.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1802, allocations: 2.781 kB / 310.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1817, allocations: 1.6 MB / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.182, allocations: 219.9 kB / 312.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.1821, allocations: 53.52 kB / 312.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.1824, allocations: 46.16 kB / 312.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.1826, allocations: 118.4 kB / 312.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.1826, allocations: 50.42 kB / 312.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002845/0.1829, allocations: 398.1 kB / 312.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1829, allocations: 0.8438 kB / 312.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009784/0.1839, allocations: 349.6 kB / 313.2 MB, free: 12.91 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,$cse1,$cse2,$cse3,$cse4,$cse5,$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 (123): * Single equations (assignments): 96 * 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.00108/0.185, allocations: 0.5364 MB / 313.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.1861, allocations: 1.15 MB / 314.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1861, allocations: 0 / 314.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.1866, allocations: 0.6447 MB / 315.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/0.1874, allocations: 256.7 kB / 315.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.1898, allocations: 2.081 MB / 317.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.19, allocations: 258.5 kB / 318.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004949/0.1905, allocations: 177.7 kB / 318.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.1911, allocations: 368.9 kB / 318.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1911, allocations: 0 / 318.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of Templates: time 0.02385/0.2149, allocations: 16.9 MB / 335.6 MB, free: 7.145 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: 3.0316952052526176]