Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 50.55 MB / 408.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005162/0.3218, allocations: 3.892 MB / 412.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.3263, allocations: 2.72 MB / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.327, allocations: 23.88 kB / 415.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.3285, allocations: 0.5711 MB / 415.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.3299, allocations: 497.6 kB / 416.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.3321, allocations: 0.9902 MB / 417.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.3344, allocations: 2.188 MB / 419.6 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.3358, allocations: 1.248 MB / 420.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.3367, allocations: 0.7437 MB / 421.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.3375, allocations: 0.7313 MB / 422.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003264/0.3379, allocations: 204 kB / 422.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.3383, allocations: 291.9 kB / 422.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.3387, allocations: 0.4908 MB / 423.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006346/0.3393, allocations: 0.8009 MB / 424.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.3414, allocations: 2.37 MB / 426.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3414, allocations: 0 / 426.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3414, allocations: 0 / 426.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.258e-05/0.3415, allocations: 0 / 426.5 MB, free: 15.89 MB / 350.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.002793/0.3443, allocations: 1.971 MB / 428.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3443, allocations: 8.031 kB / 428.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.3446, allocations: 194.1 kB / 428.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.3454, allocations: 211.8 kB / 428.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.3467, allocations: 0.9238 MB / 429.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.3469, allocations: 208.4 kB / 430 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.3471, allocations: 144 kB / 430.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.3493, allocations: 1.468 MB / 431.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.3494, allocations: 3.938 kB / 431.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.3495, allocations: 55.98 kB / 431.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.3496, allocations: 58.17 kB / 431.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.3515, allocations: 0.9726 MB / 432.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006381/0.3579, allocations: 5.823 MB / 438.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.3597, allocations: 1.232 MB / 439.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/0.3605, allocations: 0.523 MB / 440.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.3606, allocations: 16.98 kB / 440.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.3618, allocations: 0.8933 MB / 441.2 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 3.296e-06/0.3618, allocations: 0 / 441.2 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.002711/0.3645, allocations: 1.458 MB / 442.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002931/0.3648, allocations: 0.6078 MB / 443.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.3661, allocations: 0.9688 MB / 444.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.3662, allocations: 109.7 kB / 444.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.3667, allocations: 0.5412 MB / 444.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.367, allocations: 341.4 kB / 445.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.3674, allocations: 363.5 kB / 445.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3676, allocations: 305.1 kB / 445.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008077/0.3684, allocations: 475.8 kB / 446.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.3695, allocations: 0.9078 MB / 447.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.3713, allocations: 1.378 MB / 448.6 MB, free: 8.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.3713, allocations: 4 kB / 448.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002544/0.3738, allocations: 1.564 MB / 450.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.374, allocations: 102 kB / 450.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.374, allocations: 12.28 kB / 450.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.535e-05/0.374, allocations: 20 kB / 450.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.3746, allocations: 183.5 kB / 450.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.28e-05/0.3747, allocations: 35.8 kB / 450.5 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/0.3753, allocations: 155 kB / 450.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.3754, allocations: 64 kB / 450.7 MB, free: 6.305 MB / 366.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: 178 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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,$whenCondition13,$whenCondition14,$whenCondition15,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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 (212): * Single equations (assignments): 209 * 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.0009606/0.3764, allocations: 0.6494 MB / 451.4 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.3766, allocations: 115.3 kB / 451.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.3768, allocations: 114 kB / 451.6 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3768, allocations: 20 kB / 451.6 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.3769, allocations: 0 / 451.6 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.3769, allocations: 11.97 kB / 451.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/0.3808, allocations: 2.623 MB / 454.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3808, allocations: 7.938 kB / 454.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.3812, allocations: 71.84 kB / 454.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.3812, allocations: 4 kB / 454.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.3813, allocations: 39.97 kB / 454.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.3813, allocations: 8 kB / 454.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.3813, allocations: 3.938 kB / 454.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.3841, allocations: 1.862 MB / 456.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.3846, allocations: 300 kB / 456.5 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3848, allocations: 67.84 kB / 456.6 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.3853, allocations: 48.03 kB / 456.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.3856, allocations: 140.9 kB / 456.8 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.455e-05/0.3857, allocations: 43.98 kB / 456.8 MB, free: 0 / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009652/0.3867, allocations: 0.6006 MB / 457.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3867, allocations: 0 / 457.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001381/0.3881, allocations: 351.1 kB / 457.8 MB, free: 15.06 MB / 382.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: 105 (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.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,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.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,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 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (116): * Single equations (assignments): 89 * 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.004484/0.3925, allocations: 2.864 MB / 460.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.395, allocations: 1.461 MB / 462.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.395, allocations: 1.875 kB / 462.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.3961, allocations: 0.84 MB / 462.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.3973, allocations: 247 kB / 463.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.4129, allocations: 9.853 MB / 473 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008833/0.4139, allocations: 1.162 MB / 474.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.4145, allocations: 193.6 kB / 474.4 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006915/0.4152, allocations: 483.3 kB / 474.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 1.051e-06/0.4152, allocations: 0 / 474.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05333/0.4686, allocations: 25.05 MB / 499.9 MB, free: 4.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.435/9.904, allocations: 6.328 kB / 499.9 MB, free: 4.508 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches