Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.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.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_ControlledTankSystem_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.001041/0.001041, allocations: 100.5 kB / 17.01 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 196.7 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002643, allocations: 4 kB / 306.8 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1075, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2272/0.3348, allocations: 26.51 MB / 384.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.3488, allocations: 7.469 MB / 392.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.3519, allocations: 60.19 kB / 392.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.3552, allocations: 0.8476 MB / 393.2 MB, free: 2.172 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005803/0.361, allocations: 1.456 MB / 394.6 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006478/0.3675, allocations: 1.673 MB / 396.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009482/0.377, allocations: 5.237 MB / 401.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00387/0.3809, allocations: 1.674 MB / 403.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.3853, allocations: 1.44 MB / 404.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/0.3886, allocations: 1.465 MB / 406.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000667/0.3892, allocations: 119.1 kB / 406.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.3918, allocations: 0.5569 MB / 406.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007902/0.3926, allocations: 0.6374 MB / 407.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009202/0.3935, allocations: 493.4 kB / 407.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004104/0.3976, allocations: 3.042 MB / 411 MB, free: 7.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3977, allocations: 4 kB / 411 MB, free: 7.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3977, allocations: 0 / 411 MB, free: 7.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.779e-05/0.3978, allocations: 1.344 kB / 411 MB, free: 7.82 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.005769/0.4035, allocations: 2.573 MB / 413.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4036, allocations: 11.97 kB / 413.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006364/0.4042, allocations: 303.3 kB / 413.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008314/0.4051, allocations: 296.8 kB / 414.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.4075, allocations: 1.39 MB / 415.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/0.4077, allocations: 315.3 kB / 415.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.4081, allocations: 220 kB / 416.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.4129, allocations: 2.749 MB / 418.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.413, allocations: 7.938 kB / 418.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.4132, allocations: 91.98 kB / 418.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.4133, allocations: 99.69 kB / 419 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.4173, allocations: 2.189 MB / 421.2 MB, free: 13.27 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.431, allocations: 10.36 MB / 431.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.4338, allocations: 2.054 MB / 433.6 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.4354, allocations: 1.098 MB / 434.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007888/0.4433, allocations: 5.518 MB / 440.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/0.4455, allocations: 1.516 MB / 441.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 3.998e-06/0.4455, allocations: 0 / 441.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.01467/0.4602, allocations: 8.547 MB / 450.3 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003549/0.4606, allocations: 0.7632 MB / 451 MB, free: 14.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.4628, allocations: 1.655 MB / 452.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003487/0.4632, allocations: 129.7 kB / 452.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007823/0.464, allocations: 0.8929 MB / 453.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006608/0.4646, allocations: 0.6091 MB / 454.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.4648, allocations: 52 kB / 454.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.465, allocations: 411.6 kB / 454.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.4667, allocations: 0.9539 MB / 455.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.4688, allocations: 1.674 MB / 457.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.4707, allocations: 1.143 MB / 458.5 MB, free: 6.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.4707, allocations: 4 kB / 458.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005657/0.4764, allocations: 3.165 MB / 461.7 MB, free: 2.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.4765, allocations: 105.1 kB / 461.8 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.4765, allocations: 20 kB / 461.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.4777, allocations: 0.5921 MB / 462.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.4791, allocations: 403.1 kB / 462.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.4814, allocations: 2.254 MB / 465.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4831, allocations: 163.7 kB / 465.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.4834, allocations: 120 kB / 465.4 MB, free: 15.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.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.tankController.T6.t_start,tankController.T6.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T1.t_start,tankController.normal.T1.t_start,$whenCondition12,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.shut.table.combiTimeTable.nextTimeEvent,$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],$whenCondition5,$whenCondition4,$whenCondition6,$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],$whenCondition2,$whenCondition1,$whenCondition3,$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],tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition15,$whenCondition14,$whenCondition13,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.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.oldActive,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,tankController.normal.wait2.active,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.oldActive,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.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,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,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,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.4848, allocations: 0.8182 MB / 466.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.4852, allocations: 209.6 kB / 466.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/0.4906, allocations: 3.075 MB / 469.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/0.4906, allocations: 27.98 kB / 469.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.4906, allocations: 4 kB / 469.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.4907, allocations: 11.91 kB / 469.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009237/0.4999, allocations: 5.522 MB / 475 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.5, allocations: 8 kB / 475 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.501, allocations: 247.6 kB / 475.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.5021, allocations: 0.5607 MB / 475.8 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.5023, allocations: 71.89 kB / 475.9 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.5044, allocations: 2.231 MB / 478.1 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5044, allocations: 0 / 478.1 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006987/0.5114, allocations: 4.259 MB / 482.4 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.5126, allocations: 0.5529 MB / 482.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/0.513, allocations: 79.97 kB / 483 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.5142, allocations: 139.8 kB / 483.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005136/0.5147, allocations: 269.6 kB / 483.4 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/0.5149, allocations: 103.9 kB / 483.5 MB, free: 12.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001562/0.5165, allocations: 1.043 MB / 484.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5165, allocations: 0 / 484.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002337/0.5189, allocations: 0.6912 MB / 485.3 MB, free: 10.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.localActive,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.localActive,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait1.localActive,tankController.normal.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.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,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,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],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.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 discrete states: 50 (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.normal.T3.t_start,tankController.normal.T1.t_start,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00865/0.5275, allocations: 5.542 MB / 490.8 MB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005245/0.5328, allocations: 2.823 MB / 493.6 MB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.5328, allocations: 0 / 493.6 MB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003128/0.536, allocations: 1.716 MB / 495.3 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/0.5399, allocations: 0.7413 MB / 496.1 MB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/0.5674, allocations: 15.21 MB / 0.4993 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.5686, allocations: 1.603 MB / 0.5009 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002069/0.5707, allocations: 0.5594 MB / 0.5014 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.5719, allocations: 0.9365 MB / 0.5023 GB, free: 12.56 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.572, allocations: 4 kB / 0.5023 GB, free: 12.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3333/0.9053, allocations: 59.97 MB / 0.5609 GB, free: 135 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.9055, allocations: 273.6 kB / 0.5612 GB, free: 134.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.835/4.741, allocations: 0 / 0.5612 GB, free: 134.7 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat does not exist to compare? outputFormat=mat