Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_3_2_3_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.001162/0.001162, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001141/0.001142, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 56.14 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 46.62 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005057/0.108, allocations: 3.789 MB / 331.2 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.1119, allocations: 2.433 MB / 333.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.1125, allocations: 31.81 kB / 333.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.1137, allocations: 0.56 MB / 334.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008465/0.1146, allocations: 433.8 kB / 334.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.1167, allocations: 1.034 MB / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.1192, allocations: 2.099 MB / 337.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.1206, allocations: 1.209 MB / 338.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006581/0.1212, allocations: 0.697 MB / 339.6 MB, free: 8.039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006222/0.1219, allocations: 0.7079 MB / 340.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.1221, allocations: 196 kB / 340.5 MB, free: 7.137 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.1225, allocations: 279.9 kB / 340.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000398/0.1229, allocations: 470.7 kB / 341.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006214/0.1235, allocations: 0.762 MB / 342 MB, free: 5.637 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1255, allocations: 2.193 MB / 344.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1255, allocations: 0 / 344.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1255, allocations: 0 / 344.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.1255, allocations: 0 / 344.2 MB, free: 3.438 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.002574/0.1281, allocations: 1.836 MB / 346.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1282, allocations: 12.03 kB / 346.1 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.1284, allocations: 186 kB / 346.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.1286, allocations: 159.1 kB / 346.4 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.1297, allocations: 0.8804 MB / 347.3 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.1299, allocations: 204.3 kB / 347.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.1301, allocations: 139.9 kB / 347.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.1323, allocations: 1.448 MB / 349.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.1323, allocations: 0 / 349.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.1324, allocations: 59.98 kB / 349.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.683e-05/0.1325, allocations: 46.19 kB / 349.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.1342, allocations: 0.9687 MB / 350.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005694/0.1399, allocations: 5.484 MB / 355.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.1417, allocations: 1.085 MB / 356.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006956/0.1424, allocations: 459.6 kB / 357.2 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.1425, allocations: 98.09 kB / 357.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009969/0.1435, allocations: 0.6386 MB / 357.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 5.17e-06/0.1436, allocations: 0 / 357.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=116): time 0.002297/0.1459, allocations: 1.324 MB / 359.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.146, allocations: 315.7 kB / 359.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.1472, allocations: 0.9486 MB / 360.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.1473, allocations: 93.69 kB / 360.6 MB, free: 2.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.1478, allocations: 0.5393 MB / 361.1 MB, free: 1.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.1481, allocations: 300.3 kB / 361.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00042/0.1485, allocations: 351.4 kB / 361.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1486, allocations: 357.9 kB / 362.1 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/0.1494, allocations: 419.8 kB / 362.5 MB, free: 440 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.1504, allocations: 0.8024 MB / 363.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.1521, allocations: 1.193 MB / 364.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.1521, allocations: 4 kB / 364.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002353/0.1544, allocations: 1.422 MB / 365.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/0.1545, allocations: 93.09 kB / 366 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1546, allocations: 8 kB / 366 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/0.1546, allocations: 20.75 kB / 366 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.1552, allocations: 175.6 kB / 366.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.1552, allocations: 23.94 kB / 366.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.1558, allocations: 146.6 kB / 366.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.1559, allocations: 71.92 kB / 366.5 MB, free: 12.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 146 ($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.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,shut.on,$PRE.shut.on,shut.reset[2],$PRE.shut.reset[2],shut.reset[1],$PRE.shut.reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,stop.on,$PRE.stop.on,stop.reset[2],$PRE.stop.reset[2],stop.reset[1],$PRE.stop.reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,start.on,$PRE.start.on,start.reset[2],$PRE.start.reset[2],start.reset[1],$PRE.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,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,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 (194): * Single equations (assignments): 191 * 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.0009101/0.1568, allocations: 0.5803 MB / 367 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.157, allocations: 98.78 kB / 367.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.159, allocations: 1.122 MB / 368.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.159, allocations: 12 kB / 368.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.159, allocations: 4 kB / 368.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.159, allocations: 11.91 kB / 368.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.163, allocations: 2.557 MB / 370.8 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.163, allocations: 3.938 kB / 370.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.1634, allocations: 75.83 kB / 370.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.1634, allocations: 4 kB / 370.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.1635, allocations: 31.97 kB / 371 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.1635, allocations: 4 kB / 371 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1635, allocations: 3.938 kB / 371 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.166, allocations: 1.67 MB / 372.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.1664, allocations: 279.5 kB / 372.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.1666, allocations: 43.98 kB / 372.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.1669, allocations: 43.97 kB / 373 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/0.1672, allocations: 136.8 kB / 373.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.1673, allocations: 43.98 kB / 373.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008143/0.1682, allocations: 0.5889 MB / 373.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1682, allocations: 0 / 373.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001075/0.1693, allocations: 315 kB / 374.1 MB, free: 4.312 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 95 (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,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 30 (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,$whenCondition8,$whenCondition7,shut.on,shut.reset[1],shut.reset[2],stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition10,$whenCondition9,stop.on,stop.reset[1],stop.reset[2],start.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,$whenCondition11,start.on,start.reset[1],start.reset[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 16 * 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.00397/0.1732, allocations: 2.647 MB / 376.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003275/0.1765, allocations: 1.395 MB / 378.1 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1766, allocations: 5.812 kB / 378.1 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1559/0.3325, allocations: 0.6696 MB / 378.8 MB, free: 53.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.3337, allocations: 209.4 kB / 379 MB, free: 53.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.3478, allocations: 9.319 MB / 388.3 MB, free: 48.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009796/0.3489, allocations: 1.151 MB / 389.5 MB, free: 48.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008937/0.3498, allocations: 201.7 kB / 389.7 MB, free: 48.01 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006667/0.3505, allocations: 490.8 kB / 390.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3505, allocations: 0 / 390.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05325/0.4037, allocations: 23.68 MB / 413.8 MB, free: 29.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.74/9.144, allocations: 12.53 kB / 413.8 MB, free: 29.22 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches