Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007431/0.0007431, allocations: 95.97 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008715/0.0008717, allocations: 191.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 8 kB / 306.8 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 51.48 MB / 358.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004658/0.143, allocations: 3.406 MB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005255/0.1483, allocations: 2.721 MB / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008031/0.1491, allocations: 27.88 kB / 364.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1505, allocations: 485.8 kB / 364.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.1515, allocations: 370.5 kB / 365.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.1537, allocations: 0.7677 MB / 366 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.1565, allocations: 1.88 MB / 367.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.158, allocations: 0.9518 MB / 368.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/0.1588, allocations: 0.5213 MB / 369.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000734/0.1595, allocations: 0.5676 MB / 370 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1597, allocations: 56 kB / 370 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.1601, allocations: 135.9 kB / 370.2 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.1606, allocations: 334.8 kB / 370.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.1609, allocations: 281 kB / 370.8 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2101/0.371, allocations: 1.737 MB / 372.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.371, allocations: 0.625 kB / 372.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.371, allocations: 0 / 372.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001125/0.3712, allocations: 1.156 kB / 372.5 MB, free: 11.43 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.002898/0.3741, allocations: 1.586 MB / 374.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.3741, allocations: 10.56 kB / 374.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002839/0.3744, allocations: 189.1 kB / 374.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.3747, allocations: 167.2 kB / 374.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.3762, allocations: 0.8836 MB / 375.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.3764, allocations: 208 kB / 375.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.3767, allocations: 148.5 kB / 375.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.3795, allocations: 1.477 MB / 377.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.3795, allocations: 5.25 kB / 377.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.3796, allocations: 62.17 kB / 377.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/0.3797, allocations: 46.45 kB / 377.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.3815, allocations: 0.9752 MB / 378.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006334/0.3879, allocations: 5.554 MB / 383.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.3898, allocations: 1.273 MB / 385.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000882/0.3907, allocations: 0.5192 MB / 385.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.3909, allocations: 107.8 kB / 385.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.3923, allocations: 0.8999 MB / 386.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 3.006e-06/0.3923, allocations: 0 / 386.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.002983/0.3953, allocations: 1.478 MB / 388.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/0.3955, allocations: 0.6033 MB / 388.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.397, allocations: 0.9541 MB / 389.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.3972, allocations: 116 kB / 389.7 MB, free: 3.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.3977, allocations: 0.5289 MB / 390.3 MB, free: 3.422 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.398, allocations: 335.7 kB / 390.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.3981, allocations: 36.78 kB / 390.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3982, allocations: 372.2 kB / 391 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/0.399, allocations: 467.1 kB / 391.4 MB, free: 2.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.4001, allocations: 0.9151 MB / 392.4 MB, free: 1.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009211/0.401, allocations: 0.5891 MB / 392.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.401, allocations: 4.656 kB / 393 MB, free: 1.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002665/0.4037, allocations: 1.567 MB / 394.5 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.858e-05/0.4038, allocations: 104.5 kB / 394.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.4038, allocations: 11.69 kB / 394.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.282e-05/0.4039, allocations: 22.03 kB / 394.7 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.4045, allocations: 182.9 kB / 394.8 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-05/0.4045, allocations: 27.17 kB / 394.9 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.4053, allocations: 158.7 kB / 395 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.4054, allocations: 74.61 kB / 395.1 MB, free: 0.7695 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.0009495/0.4063, allocations: 0.6343 MB / 395.7 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.4066, allocations: 121.6 kB / 395.8 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.4087, allocations: 1.199 MB / 397 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.4087, allocations: 16 kB / 397.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4087, allocations: 2.75 kB / 397.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4087, allocations: 10.55 kB / 397.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/0.4132, allocations: 2.747 MB / 399.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4132, allocations: 3.906 kB / 399.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.4135, allocations: 85.72 kB / 399.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.4136, allocations: 9.188 kB / 399.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-05/0.4137, allocations: 41.16 kB / 400 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.4137, allocations: 7.688 kB / 400 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4137, allocations: 7.891 kB / 400 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.4164, allocations: 1.902 MB / 401.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.4169, allocations: 317.8 kB / 402.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.4171, allocations: 63.92 kB / 402.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.4174, allocations: 49.56 kB / 402.3 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.4177, allocations: 162 kB / 402.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/0.4179, allocations: 54.73 kB / 402.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007857/0.4186, allocations: 0.5941 MB / 403.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.243e-06/0.4187, allocations: 4 kB / 403.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001365/0.42, allocations: 346.9 kB / 403.4 MB, free: 11.95 MB / 318.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.004301/0.4243, allocations: 2.901 MB / 406.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.4268, allocations: 1.478 MB / 407.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4269, allocations: 0 / 407.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.428, allocations: 0.869 MB / 408.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4292, allocations: 212.5 kB / 408.9 MB, free: 6.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.4422, allocations: 7.407 MB / 416.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000906/0.4431, allocations: 1.166 MB / 417.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007525/0.4439, allocations: 213.7 kB / 417.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007054/0.4446, allocations: 0.4914 MB / 418.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4446, allocations: 0 / 418.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/0.4967, allocations: 25.01 MB / 443.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.497, allocations: 222 kB / 443.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/3.422, allocations: 0 / 443.4 MB, free: 4.082 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat --tempDir=temp_Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat does not exist to compare? outputFormat=mat