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.001357/0.001357, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001372/0.001372, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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.427/1.427, allocations: 173.3 MB / 200.4 MB, free: 12.85 MB / 190.1 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.663e-06/1.663e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.534e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004695/0.00472, allocations: 3.531 MB / 322.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.009303, allocations: 2.524 MB / 325 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/0.009832, allocations: 34.81 kB / 325 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.01127, allocations: 0.5793 MB / 325.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01231, allocations: 454.4 kB / 326 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.01499, allocations: 1.128 MB / 327.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00364/0.01863, allocations: 2.193 MB / 329.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.02033, allocations: 0.9816 MB / 330.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.02177, allocations: 1.102 MB / 331.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007894/0.02256, allocations: 0.587 MB / 332 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.0228, allocations: 202.3 kB / 332.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.02338, allocations: 308.8 kB / 332.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005286/0.02391, allocations: 0.5 MB / 333 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.02451, allocations: 0.5129 MB / 333.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.02739, allocations: 2.434 MB / 336 MB, free: 8.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.0274, allocations: 0 / 336 MB, free: 8.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.0274, allocations: 0 / 336 MB, free: 8.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.842e-05/0.02744, allocations: 0 / 336 MB, free: 8.879 MB / 302.1 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.003771/0.03121, allocations: 1.858 MB / 337.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.03125, allocations: 14.45 kB / 337.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.03171, allocations: 170.4 kB / 338 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.03326, allocations: 0.8211 MB / 338.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.03359, allocations: 286.3 kB / 339.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.03385, allocations: 145.9 kB / 339.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.03678, allocations: 1.565 MB / 340.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.03681, allocations: 6.375 kB / 340.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.03694, allocations: 55.36 kB / 340.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/0.03699, allocations: 45.03 kB / 340.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.03909, allocations: 1.088 MB / 342 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006892/0.04598, allocations: 4.87 MB / 346.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.04806, allocations: 1.057 MB / 347.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009336/0.049, allocations: 0.5582 MB / 348.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.04912, allocations: 20.98 kB / 348.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/0.0507, allocations: 1.004 MB / 349.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=133): time 3.737e-06/0.0507, allocations: 0 / 349.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.003213/0.05392, allocations: 1.71 MB / 351.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003425/0.05426, allocations: 0.5363 MB / 351.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.05558, allocations: 0.9529 MB / 352.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.05577, allocations: 113.7 kB / 352.8 MB, free: 8.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.05627, allocations: 0.5256 MB / 353.3 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.05663, allocations: 349.5 kB / 353.7 MB, free: 7.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/0.05715, allocations: 379.5 kB / 354.1 MB, free: 7.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.05736, allocations: 358.4 kB / 354.4 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.0584, allocations: 0.5634 MB / 355 MB, free: 6.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.05985, allocations: 1.075 MB / 356 MB, free: 5.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.06194, allocations: 1.412 MB / 357.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.06195, allocations: 4 kB / 357.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002964/0.06492, allocations: 1.682 MB / 359.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/0.06501, allocations: 101.1 kB / 359.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.06504, allocations: 19.92 kB / 359.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.702e-05/0.06508, allocations: 20 kB / 359.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/0.06575, allocations: 183.5 kB / 359.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.529e-05/0.06578, allocations: 28.48 kB / 359.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.06646, allocations: 159 kB / 359.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.06659, allocations: 71.98 kB / 359.7 MB, free: 1.445 MB / 318.1 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.0009808/0.06757, allocations: 0.6343 MB / 360.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.06784, allocations: 111.3 kB / 360.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.07034, allocations: 1.352 MB / 361.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.07035, allocations: 12 kB / 361.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.07036, allocations: 4 kB / 361.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.07038, allocations: 15.97 kB / 361.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.07471, allocations: 2.513 MB / 364.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.07472, allocations: 4 kB / 364.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.07511, allocations: 83.75 kB / 364.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.07512, allocations: 11.94 kB / 364.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.07521, allocations: 39.97 kB / 364.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.07522, allocations: 8 kB / 364.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.07522, allocations: 0 / 364.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.0787, allocations: 2.188 MB / 366.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.07916, allocations: 234.9 kB / 366.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.07937, allocations: 63.97 kB / 367 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.07978, allocations: 39.97 kB / 367 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/0.08015, allocations: 160.7 kB / 367.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.08027, allocations: 55.97 kB / 367.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008541/0.08112, allocations: 0.585 MB / 367.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08112, allocations: 288 / 367.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001152/0.08228, allocations: 347.2 kB / 368.1 MB, free: 8.754 MB / 334.1 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.001945/0.08422, allocations: 0.5849 MB / 368.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.08675, allocations: 1.582 MB / 370.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.08676, allocations: 4 kB / 370.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.08802, allocations: 0.8421 MB / 371.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.08908, allocations: 238.8 kB / 371.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.09301, allocations: 2.377 MB / 373.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/0.09371, allocations: 0.5761 MB / 374.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00059/0.0943, allocations: 197.6 kB / 374.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.09464, allocations: 120.5 kB / 374.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.09464, allocations: 0 / 374.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of Templates: time 0.03114/0.1258, allocations: 15.67 MB / 390.3 MB, free: 2.656 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.887625306844711] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.13428962603211403 0.150382874 0.119883579 Calling exit ...