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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 112.6 kB / 17.07 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 47.92 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005207/0.2497, allocations: 3.828 MB / 404 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.2539, allocations: 2.572 MB / 406.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.2545, allocations: 27.88 kB / 406.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.2559, allocations: 0.5745 MB / 407.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009669/0.2569, allocations: 425.8 kB / 407.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.2591, allocations: 1.085 MB / 408.7 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.2616, allocations: 2.15 MB / 410.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.2633, allocations: 1.236 MB / 412.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008203/0.2641, allocations: 0.7203 MB / 412.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.265, allocations: 0.7313 MB / 413.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.2653, allocations: 200 kB / 413.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004756/0.2657, allocations: 295.8 kB / 414 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.2662, allocations: 498.7 kB / 414.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007488/0.267, allocations: 0.7892 MB / 415.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.2694, allocations: 2.342 MB / 417.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2694, allocations: 0 / 417.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2694, allocations: 0 / 417.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.778e-05/0.2695, allocations: 0 / 417.6 MB, free: 7.328 MB / 334.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.00349/0.273, allocations: 1.951 MB / 419.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.273, allocations: 8.031 kB / 419.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.2733, allocations: 190.2 kB / 419.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.2736, allocations: 175.9 kB / 420 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.275, allocations: 0.9199 MB / 420.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.2752, allocations: 208.4 kB / 421.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.2755, allocations: 144 kB / 421.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.2779, allocations: 1.484 MB / 422.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.278, allocations: 3.938 kB / 422.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.2781, allocations: 59.97 kB / 422.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-05/0.2782, allocations: 46.19 kB / 422.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.28, allocations: 0.996 MB / 423.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006301/0.2863, allocations: 5.489 MB / 429.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.2884, allocations: 1.258 MB / 430.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008448/0.2893, allocations: 0.5273 MB / 431.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.2894, allocations: 106 kB / 431.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.2908, allocations: 0.9012 MB / 432.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=133): time 4.016e-05/0.2908, allocations: 3.984 kB / 432.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.002717/0.2936, allocations: 1.489 MB / 433.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003414/0.2939, allocations: 0.6049 MB / 434.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.2952, allocations: 0.9374 MB / 435.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.2954, allocations: 113.7 kB / 435.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/0.2958, allocations: 0.5334 MB / 435.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.2962, allocations: 353.3 kB / 436.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005038/0.2967, allocations: 375.5 kB / 436.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.2969, allocations: 361.9 kB / 436.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008605/0.2978, allocations: 475.8 kB / 437.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.2991, allocations: 0.9155 MB / 438.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.301, allocations: 1.385 MB / 439.6 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.301, allocations: 8 kB / 439.6 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002635/0.3037, allocations: 1.583 MB / 441.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.231e-05/0.3038, allocations: 105.1 kB / 441.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3038, allocations: 12 kB / 441.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/0.3039, allocations: 20.75 kB / 441.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.3045, allocations: 187.5 kB / 441.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.335e-05/0.3045, allocations: 31.92 kB / 441.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.3051, allocations: 147 kB / 441.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3053, allocations: 79.97 kB / 441.8 MB, free: 13.86 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: 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.0009486/0.3062, allocations: 0.638 MB / 442.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.3064, allocations: 119.3 kB / 442.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.3085, allocations: 1.199 MB / 443.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.3085, allocations: 12 kB / 443.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3086, allocations: 4 kB / 443.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.3086, allocations: 7.969 kB / 443.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.313, allocations: 2.715 MB / 446.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.313, allocations: 8 kB / 446.5 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.3133, allocations: 79.81 kB / 446.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.3134, allocations: 11.94 kB / 446.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/0.3135, allocations: 39.97 kB / 446.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.3135, allocations: 7.938 kB / 446.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3135, allocations: 4 kB / 446.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.3165, allocations: 1.921 MB / 448.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/0.317, allocations: 304.1 kB / 448.8 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.3172, allocations: 63.97 kB / 448.9 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.3176, allocations: 43.97 kB / 448.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/0.3179, allocations: 148.8 kB / 449.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.857e-05/0.318, allocations: 55.97 kB / 449.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007467/0.3188, allocations: 0.5774 MB / 449.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3188, allocations: 0 / 449.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001045/0.3198, allocations: 359.2 kB / 450.1 MB, free: 5.348 MB / 366.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,$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.00479/0.3246, allocations: 2.94 MB / 453 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.3271, allocations: 1.487 MB / 454.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3271, allocations: 4 kB / 454.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.3284, allocations: 0.8639 MB / 455.3 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3294, allocations: 218.4 kB / 455.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.3445, allocations: 9.82 MB / 465.4 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/0.3455, allocations: 1.17 MB / 466.6 MB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006771/0.3462, allocations: 201.7 kB / 466.7 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006906/0.3469, allocations: 495.2 kB / 467.2 MB, free: 3.652 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3469, allocations: 0 / 467.2 MB, free: 3.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05548/0.4024, allocations: 25.24 MB / 492.5 MB, free: 10.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.792/10.19, allocations: 8.062 kB / 492.5 MB, free: 10.54 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches