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.001287/0.001287, allocations: 115.5 kB / 17.07 MB, free: 6.012 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.001239/0.001239, allocations: 191.9 kB / 18 MB, free: 5.098 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.286/1.286, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 47.94 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2974, allocations: 49.42 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.007394/0.3048, allocations: 3.839 MB / 404 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.3094, allocations: 2.568 MB / 406.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.3102, allocations: 27.88 kB / 406.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.3117, allocations: 0.5748 MB / 407.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.3129, allocations: 437.8 kB / 407.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.3153, allocations: 1.09 MB / 408.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.3178, allocations: 2.153 MB / 410.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.3194, allocations: 1.225 MB / 412.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007691/0.3202, allocations: 0.7243 MB / 412.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007837/0.321, allocations: 0.7313 MB / 413.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.3212, allocations: 200 kB / 413.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.3216, allocations: 299.9 kB / 414.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.322, allocations: 0.4908 MB / 414.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.3227, allocations: 0.7815 MB / 415.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.325, allocations: 2.35 MB / 417.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.325, allocations: 0 / 417.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.325, allocations: 0 / 417.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.325, allocations: 0 / 417.7 MB, free: 7.297 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.002766/0.3278, allocations: 1.943 MB / 419.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3278, allocations: 15.89 kB / 419.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.3281, allocations: 190.2 kB / 419.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.3283, allocations: 175.9 kB / 420 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.3296, allocations: 0.9121 MB / 420.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.3298, allocations: 212.4 kB / 421.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.33, allocations: 144 kB / 421.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.3323, allocations: 1.48 MB / 422.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.3323, allocations: 7.938 kB / 422.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.3324, allocations: 59.97 kB / 422.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/0.3325, allocations: 50.19 kB / 422.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.3342, allocations: 0.9883 MB / 423.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006074/0.3403, allocations: 5.501 MB / 429.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.3423, allocations: 1.258 MB / 430.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.343, allocations: 0.5236 MB / 431.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.3432, allocations: 110 kB / 431.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.3444, allocations: 0.9012 MB / 432.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=133): time 2.995e-06/0.3444, allocations: 0 / 432.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.00257/0.347, allocations: 1.485 MB / 433.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002861/0.3473, allocations: 0.6088 MB / 434.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3485, allocations: 0.9374 MB / 435.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.3487, allocations: 113.7 kB / 435.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/0.3491, allocations: 0.5334 MB / 435.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.3495, allocations: 349.3 kB / 436.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005061/0.35, allocations: 379.5 kB / 436.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3501, allocations: 361.9 kB / 436.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008414/0.351, allocations: 475.8 kB / 437.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.3522, allocations: 0.9155 MB / 438.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.354, allocations: 1.382 MB / 439.6 MB, free: 36 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.354, allocations: 7.938 kB / 439.6 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002501/0.3565, allocations: 1.579 MB / 441.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/0.3566, allocations: 105.1 kB / 441.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.3567, allocations: 15.94 kB / 441.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.885e-05/0.3567, allocations: 20.81 kB / 441.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.3574, allocations: 187.6 kB / 441.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/0.3574, allocations: 31.92 kB / 441.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.358, allocations: 151 kB / 441.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.3582, allocations: 75.98 kB / 441.8 MB, free: 13.82 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.0009381/0.3591, allocations: 0.6419 MB / 442.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.3594, allocations: 111.3 kB / 442.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.3615, allocations: 1.203 MB / 443.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.3615, allocations: 12 kB / 443.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3615, allocations: 4 kB / 443.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.3615, allocations: 11.97 kB / 443.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.366, allocations: 2.719 MB / 446.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.366, allocations: 0 / 446.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.3663, allocations: 75.83 kB / 446.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/0.3664, allocations: 8.219 kB / 446.6 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.512e-05/0.3665, allocations: 43.95 kB / 446.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.3665, allocations: 8 kB / 446.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3665, allocations: 7.875 kB / 446.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.3696, allocations: 1.921 MB / 448.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.3701, allocations: 312.1 kB / 448.9 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.3703, allocations: 59.97 kB / 448.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.3707, allocations: 43.97 kB / 449 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.371, allocations: 144.8 kB / 449.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.3711, allocations: 55.97 kB / 449.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009129/0.372, allocations: 0.5771 MB / 449.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.3721, allocations: 0 / 449.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00118/0.3732, allocations: 359.1 kB / 450.1 MB, free: 5.316 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.004389/0.3776, allocations: 2.94 MB / 453 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.3801, allocations: 1.483 MB / 454.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3801, allocations: 0 / 454.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3812, allocations: 0.8679 MB / 455.4 MB, free: 40 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3823, allocations: 222.7 kB / 455.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.3976, allocations: 9.813 MB / 465.4 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009855/0.3986, allocations: 1.17 MB / 466.6 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007007/0.3993, allocations: 201.7 kB / 466.8 MB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007878/0.4001, allocations: 499.2 kB / 467.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4001, allocations: 0 / 467.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/0.4575, allocations: 25.25 MB / 492.5 MB, free: 10.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.666/10.12, allocations: 0 / 492.5 MB, free: 10.52 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