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.001418/0.001418, allocations: 95.55 kB / 16.32 MB, free: 5.555 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.001507/0.001507, allocations: 181.4 kB / 17.21 MB, free: 5.477 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.491/1.491, allocations: 223.2 MB / 241.2 MB, free: 364 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002914, allocations: 12 kB / 300.9 MB, free: 6.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 50.42 MB / 351.3 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005013/0.142, allocations: 3.373 MB / 354.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005264/0.1473, allocations: 2.534 MB / 357.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009368/0.1483, allocations: 23.88 kB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.1498, allocations: 490.2 kB / 357.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.1509, allocations: 326.6 kB / 358 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.1535, allocations: 0.7587 MB / 358.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003321/0.1568, allocations: 1.861 MB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.1588, allocations: 0.9322 MB / 361.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009027/0.1597, allocations: 0.5213 MB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000767/0.1605, allocations: 0.556 MB / 362.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1606, allocations: 60 kB / 362.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.1611, allocations: 131.9 kB / 362.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.1615, allocations: 334.8 kB / 363.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.1619, allocations: 284.9 kB / 363.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.1639, allocations: 1.711 MB / 365.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.164, allocations: 0 / 365.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.164, allocations: 0 / 365.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.593e-05/0.164, allocations: 0 / 365.2 MB, free: 6.027 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.003089/0.1671, allocations: 1.575 MB / 366.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.1672, allocations: 12.03 kB / 366.8 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003144/0.1675, allocations: 190 kB / 367 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.1678, allocations: 166.1 kB / 367.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.1692, allocations: 0.8756 MB / 368 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.1694, allocations: 204.1 kB / 368.2 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.1696, allocations: 148 kB / 368.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.1724, allocations: 1.48 MB / 369.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.1725, allocations: 3.938 kB / 369.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.1726, allocations: 55.98 kB / 369.9 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.676e-05/0.1727, allocations: 62.12 kB / 369.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2526/0.4253, allocations: 0.9683 MB / 370.9 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008873/0.4342, allocations: 5.555 MB / 376.5 MB, free: 20.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.4362, allocations: 1.248 MB / 377.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009754/0.4372, allocations: 0.5241 MB / 378.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.4374, allocations: 107 kB / 378.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.4393, allocations: 0.8943 MB / 379.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 3.667e-06/0.4393, allocations: 5.438 kB / 379.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.003649/0.4429, allocations: 1.474 MB / 380.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/0.4432, allocations: 0.5984 MB / 381.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.4448, allocations: 0.93 MB / 382.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.4451, allocations: 110.6 kB / 382.3 MB, free: 17.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.4456, allocations: 0.5262 MB / 382.9 MB, free: 16.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.4459, allocations: 335.5 kB / 383.2 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.446, allocations: 36 kB / 383.2 MB, free: 16.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.4463, allocations: 426.2 kB / 383.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.4473, allocations: 469.9 kB / 384.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.4485, allocations: 0.914 MB / 385 MB, free: 15.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.4496, allocations: 0.5856 MB / 385.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.4496, allocations: 3.125 kB / 385.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003045/0.4526, allocations: 1.56 MB / 387.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/0.4527, allocations: 106.7 kB / 387.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.4528, allocations: 11.66 kB / 387.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.79e-05/0.4528, allocations: 25.84 kB / 387.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.4535, allocations: 188 kB / 387.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.65e-05/0.4536, allocations: 30.09 kB / 387.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/0.4545, allocations: 156.1 kB / 387.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.4546, allocations: 74.44 kB / 387.7 MB, free: 14.13 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],$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,tankController.s1.active,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.condition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition11,$whenCondition10,$whenCondition12,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition14,$whenCondition13,$whenCondition15,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T6.t_start,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001319/0.456, allocations: 0.64 MB / 388.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.4563, allocations: 112 kB / 388.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.4592, allocations: 1.192 MB / 389.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/0.4593, allocations: 13.72 kB / 389.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.4593, allocations: 6.953 kB / 389.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/0.4593, allocations: 8.859 kB / 389.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/0.4642, allocations: 2.737 MB / 392.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4643, allocations: 0 / 392.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.4646, allocations: 82.02 kB / 392.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/0.4647, allocations: 7.719 kB / 392.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.4647, allocations: 40.64 kB / 392.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.4648, allocations: 11.58 kB / 392.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4648, allocations: 3.984 kB / 392.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.4677, allocations: 1.903 MB / 394.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/0.4682, allocations: 312.5 kB / 394.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.4684, allocations: 54.48 kB / 394.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.4688, allocations: 56.39 kB / 394.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/0.4692, allocations: 165.2 kB / 395.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.4693, allocations: 53.5 kB / 395.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009079/0.4702, allocations: 0.5768 MB / 395.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.223e-06/0.4703, allocations: 0 / 395.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00164/0.4719, allocations: 349.7 kB / 396 MB, free: 9.48 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.localActive,tankController.s2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank1.localActive,tankController.s1.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,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.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.condition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.condition,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004252/0.4762, allocations: 2.919 MB / 399 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.4787, allocations: 1.469 MB / 400.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.4788, allocations: 0 / 400.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.4798, allocations: 0.8619 MB / 401.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.481, allocations: 212.5 kB / 401.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.4946, allocations: 7.297 MB / 408.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.4957, allocations: 1.166 MB / 410 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008851/0.4966, allocations: 205.6 kB / 410.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/0.4973, allocations: 491.2 kB / 410.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of SimCode: time 1.412e-06/0.4974, allocations: 0 / 410.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05518/0.5525, allocations: 24.68 MB / 435.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.5528, allocations: 228.2 kB / 435.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/3.298, allocations: 7.75 kB / 435.6 MB, free: 2.809 MB / 334.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat does not exist to compare? outputFormat=mat