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.00091/0.00091, allocations: 95.75 kB / 16.3 MB, free: 5.996 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.0009591/0.0009591, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.538/1.538, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003454, allocations: 3.438 kB / 300.8 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 50.43 MB / 351.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005039/0.1514, allocations: 3.336 MB / 354.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006015/0.1575, allocations: 2.487 MB / 357 MB, free: 5.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009139/0.1585, allocations: 27.88 kB / 357.1 MB, free: 5.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.1598, allocations: 474.2 kB / 357.5 MB, free: 5.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.1608, allocations: 335 kB / 357.9 MB, free: 4.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.1631, allocations: 0.7407 MB / 358.6 MB, free: 4.172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.1655, allocations: 1.175 MB / 359.8 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.1672, allocations: 0.9438 MB / 360.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.168, allocations: 0.5098 MB / 361.2 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.1687, allocations: 0.5327 MB / 361.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.1688, allocations: 63.94 kB / 361.8 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.1692, allocations: 112 kB / 361.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.1696, allocations: 330.9 kB / 362.3 MB, free: 496 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.1699, allocations: 288.9 kB / 362.5 MB, free: 200 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.1718, allocations: 1.714 MB / 364.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1718, allocations: 0 / 364.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.1718, allocations: 4 kB / 364.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.185e-05/0.1718, allocations: 0 / 364.3 MB, free: 14.47 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.002986/0.1748, allocations: 1.567 MB / 365.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1749, allocations: 11.97 kB / 365.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.1751, allocations: 193.9 kB / 366 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.1754, allocations: 166.1 kB / 366.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.1769, allocations: 0.8641 MB / 367.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.1771, allocations: 204.1 kB / 367.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.1773, allocations: 151.9 kB / 367.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.18, allocations: 1.472 MB / 368.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.18, allocations: 0 / 368.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.1801, allocations: 55.98 kB / 368.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.1802, allocations: 54.14 kB / 369 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.1822, allocations: 0.9804 MB / 370 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008062/0.1902, allocations: 5.554 MB / 375.5 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.1925, allocations: 1.266 MB / 376.8 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.1927, allocations: 102.1 kB / 376.9 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.1941, allocations: 0.8933 MB / 377.8 MB, free: 252 kB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 3.537e-06/0.1941, allocations: 0 / 377.8 MB, free: 252 kB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.003266/0.1974, allocations: 1.713 MB / 379.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004556/0.1979, allocations: 0.6039 MB / 380.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.1996, allocations: 0.9301 MB / 381 MB, free: 12.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003099/0.1999, allocations: 113.7 kB / 381.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.2006, allocations: 0.5243 MB / 381.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.201, allocations: 335.8 kB / 382 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/0.2011, allocations: 32 kB / 382 MB, free: 11.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003356/0.2014, allocations: 426.7 kB / 382.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009096/0.2023, allocations: 471.7 kB / 382.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.2036, allocations: 0.9039 MB / 383.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.2047, allocations: 0.578 MB / 384.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.2047, allocations: 4 kB / 384.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003005/0.2077, allocations: 1.563 MB / 385.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.2079, allocations: 105.1 kB / 386 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.2079, allocations: 12 kB / 386.1 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.114e-05/0.208, allocations: 20 kB / 386.1 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/0.2086, allocations: 184.2 kB / 386.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.42e-05/0.2087, allocations: 39.81 kB / 386.3 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008874/0.2096, allocations: 154.6 kB / 386.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.2097, allocations: 75.97 kB / 386.5 MB, free: 7.012 MB / 318.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.001294/0.211, allocations: 0.6381 MB / 387.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.2113, allocations: 110.7 kB / 387.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.2136, allocations: 1.191 MB / 388.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.2136, allocations: 16 kB / 388.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.2137, allocations: 0 / 388.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.2137, allocations: 15.92 kB / 388.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004848/0.2186, allocations: 2.723 MB / 391.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.2186, allocations: 8 kB / 391.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.219, allocations: 83.75 kB / 391.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/0.219, allocations: 19.88 kB / 391.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-05/0.2191, allocations: 39.97 kB / 391.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.2191, allocations: 4 kB / 391.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2191, allocations: 4 kB / 391.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.2227, allocations: 1.99 MB / 393.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/0.2234, allocations: 315.5 kB / 393.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.2236, allocations: 55.98 kB / 393.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.224, allocations: 56.02 kB / 393.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.2244, allocations: 164.7 kB / 393.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.2245, allocations: 55.97 kB / 394 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009064/0.2254, allocations: 0.5693 MB / 394.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2254, allocations: 0 / 394.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001401/0.2268, allocations: 355 kB / 394.9 MB, free: 14.35 MB / 334.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.005115/0.232, allocations: 3.562 MB / 398.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.2347, allocations: 1.471 MB / 399.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.2348, allocations: 0 / 399.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.236, allocations: 0.8645 MB / 400.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2371, allocations: 183.2 kB / 401 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/0.2573, allocations: 15 MB / 416 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.2586, allocations: 1.193 MB / 417.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.2596, allocations: 201.6 kB / 417.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008174/0.2604, allocations: 491.2 kB / 417.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.2604, allocations: 0 / 417.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2766/0.537, allocations: 24.64 MB / 442.5 MB, free: 59.83 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.5372, allocations: 218 kB / 442.7 MB, free: 59.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.327, allocations: 2.188 kB / 442.7 MB, free: 59.59 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 & /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