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.001006/0.001006, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001072/0.001072, allocations: 145.8 kB / 24.98 MB, free: 8.816 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.035/1.035, allocations: 173.4 MB / 201.5 MB, free: 9.328 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.884e-06/1.884e-06, allocations: 0 / 268 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.717e-05, allocations: 2.312 kB / 268 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004868/0.004895, allocations: 3.781 MB / 271.8 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.008955, allocations: 2.548 MB / 274.4 MB, free: 408 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008372/0.009792, allocations: 31.75 kB / 274.4 MB, free: 376 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.01101, allocations: 0.5792 MB / 275 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009408/0.01195, allocations: 473.5 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.01388, allocations: 1.119 MB / 276.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.01636, allocations: 2.18 MB / 278.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.01795, allocations: 1.042 MB / 279.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.01913, allocations: 1.099 MB / 280.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007638/0.0199, allocations: 0.5842 MB / 281.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.02018, allocations: 204 kB / 281.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.02064, allocations: 303.8 kB / 282 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.02101, allocations: 0.5063 MB / 282.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005728/0.02158, allocations: 0.5026 MB / 283 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.02337, allocations: 1.405 MB / 284.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.02338, allocations: 0 / 284.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.02338, allocations: 0 / 284.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.322e-05/0.02342, allocations: 0 / 284.4 MB, free: 6.336 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.002397/0.02582, allocations: 1.969 MB / 286.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.02587, allocations: 12.92 kB / 286.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.02621, allocations: 279.9 kB / 286.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009848/0.02719, allocations: 0.8273 MB / 287.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.02737, allocations: 281.7 kB / 287.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.02751, allocations: 148.3 kB / 287.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.02909, allocations: 1.234 MB / 289.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.02912, allocations: 0 / 289.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-05/0.0292, allocations: 52 kB / 289.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.02926, allocations: 50.17 kB / 289.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009982/0.03025, allocations: 0.5914 MB / 289.8 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/0.1654, allocations: 6.035 MB / 295.8 MB, free: 21.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1665, allocations: 0.8687 MB / 296.7 MB, free: 20.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.167, allocations: 424.8 kB / 297.1 MB, free: 20.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.1671, allocations: 29.92 kB / 297.2 MB, free: 20.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.1681, allocations: 0.8667 MB / 298 MB, free: 20.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 4.869e-06/0.1681, allocations: 1.25 kB / 298 MB, free: 20.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.00193/0.17, allocations: 1.352 MB / 299.4 MB, free: 19.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.1702, allocations: 0.537 MB / 299.9 MB, free: 19.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1713, allocations: 0.8124 MB / 300.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.1714, allocations: 110 kB / 300.8 MB, free: 18.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.1718, allocations: 0.5767 MB / 301.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.172, allocations: 352.7 kB / 301.7 MB, free: 18.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005065/0.1725, allocations: 393.3 kB / 302.1 MB, free: 18.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1727, allocations: 0.5355 MB / 302.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.1732, allocations: 339.3 kB / 303 MB, free: 17.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.1739, allocations: 0.9919 MB / 304 MB, free: 16.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1749, allocations: 1.199 MB / 305.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.175, allocations: 4.594 kB / 305.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001713/0.1767, allocations: 1.376 MB / 306.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.1767, allocations: 103.8 kB / 306.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.1767, allocations: 11.75 kB / 306.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.658e-05/0.1768, allocations: 24.81 kB / 306.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.1772, allocations: 196.9 kB / 306.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/0.1772, allocations: 29.75 kB / 306.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.1776, allocations: 152.1 kB / 307.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.1777, allocations: 75 kB / 307.2 MB, free: 15.25 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.0004472/0.1782, allocations: 484.5 kB / 307.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.1784, allocations: 167.7 kB / 307.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.1795, allocations: 1.084 MB / 308.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.1795, allocations: 17.06 kB / 308.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1795, allocations: 7.344 kB / 308.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.1795, allocations: 11.19 kB / 308.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.1818, allocations: 2.266 MB / 311.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1818, allocations: 1.844 kB / 311.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.182, allocations: 85.81 kB / 311.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.182, allocations: 3.625 kB / 311.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/0.182, allocations: 48.23 kB / 311.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.1821, allocations: 11.62 kB / 311.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.1821, allocations: 3 kB / 311.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.1836, allocations: 1.742 MB / 313.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.1839, allocations: 232.4 kB / 313.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.184, allocations: 52.81 kB / 313.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1842, allocations: 48.19 kB / 313.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.1844, allocations: 120.2 kB / 313.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.1844, allocations: 60.89 kB / 313.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003234/0.1847, allocations: 445.7 kB / 314 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1847, allocations: 0 / 314 MB, free: 11.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007256/0.1855, allocations: 346 kB / 314.3 MB, free: 11.48 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.001034/0.1865, allocations: 0.5445 MB / 314.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.1877, allocations: 1.258 MB / 316.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1877, allocations: 4.062 kB / 316.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004678/0.1881, allocations: 0.697 MB / 316.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.1887, allocations: 256.5 kB / 317.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1907, allocations: 2.134 MB / 319.2 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.1908, allocations: 250.5 kB / 319.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003225/0.1912, allocations: 193.6 kB / 319.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.1913, allocations: 124.4 kB / 319.8 MB, free: 6.199 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1913, allocations: 0 / 319.8 MB, free: 6.199 MB / 266.7 MB Notification: Performance of Templates: time 0.02056/0.2119, allocations: 15.78 MB / 335.6 MB, free: 6.637 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.1059740311466157]