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.001255/0.001254, allocations: 106.5 kB / 16.92 MB, free: 5.762 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.001359/0.001359, allocations: 187.3 kB / 17.85 MB, free: 5.176 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.429/1.429, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001139, allocations: 42.45 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.111, allocations: 49.45 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006402/0.1174, allocations: 3.814 MB / 354 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.122, allocations: 2.572 MB / 356.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009003/0.1229, allocations: 27.88 kB / 356.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.1246, allocations: 0.5638 MB / 357.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.1261, allocations: 425.8 kB / 357.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.1289, allocations: 1.082 MB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.1318, allocations: 2.138 MB / 360.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.1339, allocations: 1.236 MB / 362 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.1353, allocations: 0.7203 MB / 362.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.1366, allocations: 0.7235 MB / 363.4 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005854/0.1372, allocations: 211.9 kB / 363.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000768/0.138, allocations: 275.9 kB / 363.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006553/0.1387, allocations: 494.8 kB / 364.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.1401, allocations: 0.7892 MB / 365.2 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.143, allocations: 2.255 MB / 367.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.143, allocations: 4 kB / 367.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1431, allocations: 0 / 367.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.409e-05/0.1431, allocations: 0 / 367.5 MB, free: 2.938 MB / 302.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.004031/0.1472, allocations: 1.909 MB / 369.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1472, allocations: 12.03 kB / 369.4 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.1475, allocations: 186.2 kB / 369.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.1478, allocations: 167 kB / 369.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2076/0.3555, allocations: 0.894 MB / 370.6 MB, free: 25.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.3559, allocations: 206.8 kB / 370.8 MB, free: 25.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/0.3562, allocations: 145 kB / 371 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.3593, allocations: 1.492 MB / 372.5 MB, free: 24.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.3593, allocations: 5.188 kB / 372.5 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.3595, allocations: 55.06 kB / 372.5 MB, free: 24.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.167e-05/0.3595, allocations: 51.83 kB / 372.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.3618, allocations: 0.9886 MB / 373.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006886/0.3687, allocations: 5.547 MB / 379.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.3706, allocations: 1.261 MB / 380.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007942/0.3714, allocations: 0.5254 MB / 380.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.3715, allocations: 105.5 kB / 381 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.3728, allocations: 0.8989 MB / 381.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 3.707e-06/0.3729, allocations: 0.6562 kB / 381.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.002806/0.3757, allocations: 1.49 MB / 383.4 MB, free: 17.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/0.3759, allocations: 0.6041 MB / 384 MB, free: 17.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.3772, allocations: 0.9304 MB / 384.9 MB, free: 16.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.3774, allocations: 111.1 kB / 385 MB, free: 16.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.3778, allocations: 0.5302 MB / 385.5 MB, free: 16.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.378, allocations: 324.8 kB / 385.9 MB, free: 16.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005176/0.3785, allocations: 383.1 kB / 386.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3787, allocations: 358.4 kB / 386.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.3795, allocations: 475.5 kB / 387.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.3805, allocations: 0.9172 MB / 388 MB, free: 14.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.3821, allocations: 1.387 MB / 389.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.3822, allocations: 3.25 kB / 389.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002421/0.3846, allocations: 1.574 MB / 390.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/0.3847, allocations: 103 kB / 391 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.3847, allocations: 12.03 kB / 391 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/0.3847, allocations: 20.47 kB / 391.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.3853, allocations: 197.1 kB / 391.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/0.3854, allocations: 24.5 kB / 391.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.386, allocations: 150.2 kB / 391.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.3861, allocations: 73.64 kB / 391.5 MB, free: 12.7 MB / 302.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.0006844/0.3868, allocations: 0.6407 MB / 392.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.3869, allocations: 113.5 kB / 392.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.3887, allocations: 1.193 MB / 393.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.3887, allocations: 17.06 kB / 393.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3887, allocations: 3.188 kB / 393.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3887, allocations: 9.438 kB / 393.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.3923, allocations: 2.737 MB / 396.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3924, allocations: 2.75 kB / 396.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.3927, allocations: 81.27 kB / 396.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.3927, allocations: 9.719 kB / 396.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/0.3928, allocations: 42.38 kB / 396.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.3928, allocations: 7.484 kB / 396.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3928, allocations: 2.406 kB / 396.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.3954, allocations: 1.918 MB / 398.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.3957, allocations: 299.5 kB / 398.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.3959, allocations: 63.95 kB / 398.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.3963, allocations: 51.62 kB / 398.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.3965, allocations: 152.7 kB / 398.8 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.6e-05/0.3966, allocations: 51.97 kB / 398.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005731/0.3972, allocations: 0.585 MB / 399.5 MB, free: 7 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3972, allocations: 0 / 399.5 MB, free: 7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3982, allocations: 347.3 kB / 399.8 MB, free: 6.664 MB / 302.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.003494/0.4017, allocations: 2.918 MB / 402.7 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.4049, allocations: 1.663 MB / 404.4 MB, free: 2.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.4049, allocations: 320 / 404.4 MB, free: 2.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009213/0.4058, allocations: 0.867 MB / 405.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.4068, allocations: 225 kB / 405.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.422, allocations: 10.26 MB / 415.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.4231, allocations: 1.162 MB / 416.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000957/0.4241, allocations: 206.2 kB / 417.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007785/0.4248, allocations: 495.2 kB / 417.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4249, allocations: 0 / 417.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0575/0.4824, allocations: 24.84 MB / 442.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/9.239, allocations: 4 kB / 442.4 MB, free: 11.51 MB / 350.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