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.001345/0.001345, allocations: 114.4 kB / 17.73 MB, free: 5.34 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.001163/0.001163, allocations: 187.1 kB / 18.66 MB, free: 4.414 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.557/1.557, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001479/0.00148, allocations: 47.92 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1088, allocations: 46.63 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006721/0.1155, allocations: 3.785 MB / 378.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2729/0.3884, allocations: 2.432 MB / 380.8 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.3896, allocations: 29.28 kB / 380.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.3914, allocations: 0.5582 MB / 381.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.3926, allocations: 440.4 kB / 381.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.3955, allocations: 1.027 MB / 382.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004543/0.4001, allocations: 2.122 MB / 385 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.4022, allocations: 1.208 MB / 386.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009217/0.4031, allocations: 0.7076 MB / 386.9 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008717/0.404, allocations: 0.7014 MB / 387.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.4043, allocations: 199.2 kB / 387.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007216/0.4051, allocations: 285.4 kB / 388.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005161/0.4056, allocations: 473.4 kB / 388.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.4064, allocations: 0.7498 MB / 389.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.4093, allocations: 2.285 MB / 391.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4094, allocations: 4.516 kB / 391.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4094, allocations: 0 / 391.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.4094, allocations: 0 / 391.6 MB, free: 5.305 MB / 318.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.003396/0.4128, allocations: 1.872 MB / 393.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4129, allocations: 13.75 kB / 393.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/0.4131, allocations: 187.8 kB / 393.7 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/0.4135, allocations: 164.2 kB / 393.8 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.4147, allocations: 0.899 MB / 394.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.4149, allocations: 199.8 kB / 394.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.4151, allocations: 145.9 kB / 395.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.4174, allocations: 1.449 MB / 396.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.4174, allocations: 5.094 kB / 396.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.4176, allocations: 51.84 kB / 396.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.82e-05/0.4176, allocations: 52.78 kB / 396.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.4195, allocations: 0.9663 MB / 397.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.4253, allocations: 5.45 MB / 403 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.4272, allocations: 1.092 MB / 404.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008021/0.428, allocations: 456.4 kB / 404.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.4281, allocations: 96.97 kB / 404.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.4292, allocations: 0.6384 MB / 405.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.447e-06/0.4292, allocations: 0 / 405.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=116): time 0.00265/0.4319, allocations: 1.325 MB / 406.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.4321, allocations: 315.6 kB / 406.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.4335, allocations: 0.9573 MB / 407.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.4336, allocations: 99.56 kB / 408 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.4341, allocations: 0.5474 MB / 408.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.4344, allocations: 311.4 kB / 408.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.4348, allocations: 350.5 kB / 409.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.435, allocations: 359.7 kB / 409.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.4358, allocations: 414.3 kB / 409.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4368, allocations: 0.7988 MB / 410.7 MB, free: 7.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.4385, allocations: 1.199 MB / 411.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.4385, allocations: 2.438 kB / 411.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002868/0.4414, allocations: 1.421 MB / 413.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.4415, allocations: 99.59 kB / 413.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.4416, allocations: 12.78 kB / 413.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/0.4416, allocations: 18.03 kB / 413.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.4422, allocations: 174.2 kB / 413.7 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/0.4422, allocations: 25.05 kB / 413.7 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.443, allocations: 152.2 kB / 413.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.4431, allocations: 70.19 kB / 413.9 MB, free: 5.812 MB / 334.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.000892/0.444, allocations: 0.5815 MB / 414.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.4442, allocations: 104.6 kB / 414.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.4461, allocations: 1.123 MB / 415.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4461, allocations: 15.38 kB / 415.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4461, allocations: 1.094 kB / 415.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4462, allocations: 7.922 kB / 415.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.45, allocations: 2.539 MB / 418.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4501, allocations: 0 / 418.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.4504, allocations: 87.75 kB / 418.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.4504, allocations: 4 kB / 418.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.4505, allocations: 35.97 kB / 418.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.795e-05/0.4505, allocations: 4 kB / 418.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4505, allocations: 0 / 418.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.4531, allocations: 1.671 MB / 420.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004273/0.4535, allocations: 288.1 kB / 420.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.4537, allocations: 44.05 kB / 420.4 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.454, allocations: 35.97 kB / 420.4 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.4543, allocations: 140.8 kB / 420.6 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/0.4544, allocations: 43.97 kB / 420.6 MB, free: 280 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008955/0.4553, allocations: 0.5849 MB / 421.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4553, allocations: 3.938 kB / 421.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4566, allocations: 323.2 kB / 421.5 MB, free: 15.37 MB / 350.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.00401/0.4606, allocations: 2.644 MB / 424.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.463, allocations: 1.268 MB / 425.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.463, allocations: 4 kB / 425.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000868/0.4639, allocations: 0.6743 MB / 426.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.465, allocations: 222.8 kB / 426.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.4788, allocations: 8.973 MB / 435.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/0.4796, allocations: 1.146 MB / 436.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006871/0.4803, allocations: 205.2 kB / 436.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006535/0.481, allocations: 483.2 kB / 437.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.481, allocations: 0 / 437.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05578/0.5367, allocations: 24.08 MB / 461.2 MB, free: 7.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.1, allocations: 19.69 kB / 461.2 MB, free: 7.055 MB / 382.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