Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009172/0.0009171, allocations: 192 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.156/1.156, allocations: 226.5 MB / 244.7 MB, free: 8.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007241/0.0007241, allocations: 104.1 kB / 296.7 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002327/0.0002327, allocations: 4 kB / 356.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1737, allocations: 51.29 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01768/0.1915, allocations: 26.6 MB / 434.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009818/0.2013, allocations: 7.469 MB / 442.2 MB, free: 9.578 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.203, allocations: 59.56 kB / 442.3 MB, free: 9.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.2053, allocations: 0.8356 MB / 443.1 MB, free: 8.68 MB / 314.7 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.003771/0.2091, allocations: 1.504 MB / 444.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.2137, allocations: 1.744 MB / 446.3 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005579/0.2192, allocations: 5.257 MB / 451.6 MB, free: 176 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.222, allocations: 1.764 MB / 453.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.2246, allocations: 1.44 MB / 454.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.2267, allocations: 1.463 MB / 456.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000575/0.2273, allocations: 120 kB / 456.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.2292, allocations: 0.7294 MB / 457.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008418/0.2301, allocations: 0.6424 MB / 457.7 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.2318, allocations: 1.148 MB / 458.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.235, allocations: 3.084 MB / 462 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.235, allocations: 0 / 462 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.235, allocations: 0 / 462 MB, free: 5.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.2351, allocations: 0 / 462 MB, free: 5.715 MB / 330.7 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.005069/0.2402, allocations: 2.56 MB / 464.5 MB, free: 3.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2402, allocations: 12.03 kB / 464.6 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006104/0.2408, allocations: 299.5 kB / 464.8 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008475/0.2417, allocations: 297.7 kB / 465.1 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.244, allocations: 1.437 MB / 466.6 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.2443, allocations: 315.2 kB / 466.9 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/0.2447, allocations: 220 kB / 467.1 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/0.2492, allocations: 2.75 MB / 469.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.2493, allocations: 7.938 kB / 469.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.2495, allocations: 87.98 kB / 469.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.404e-05/0.2496, allocations: 99.69 kB / 470 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.2533, allocations: 2.185 MB / 472.2 MB, free: 11.07 MB / 346.7 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.01214/0.2654, allocations: 10.37 MB / 482.6 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.2681, allocations: 2.065 MB / 484.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.2696, allocations: 1.091 MB / 485.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007042/0.2767, allocations: 5.518 MB / 491.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002054/0.2787, allocations: 1.519 MB / 492.8 MB, free: 5.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=207): time 4.819e-06/0.2787, allocations: 4 kB / 492.8 MB, free: 5.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=217): time 0.014/0.2928, allocations: 8.543 MB / 0.4896 GB, free: 12.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002676/0.293, allocations: 0.7711 MB / 0.4903 GB, free: 11.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.2951, allocations: 1.647 MB / 0.4919 GB, free: 10.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.2953, allocations: 129.7 kB / 0.4921 GB, free: 10.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006475/0.296, allocations: 0.8932 MB / 0.4929 GB, free: 9.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000514/0.2965, allocations: 0.6052 MB / 0.4935 GB, free: 8.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.2966, allocations: 59.94 kB / 0.4936 GB, free: 8.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2968, allocations: 415.6 kB / 0.494 GB, free: 8.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.2984, allocations: 0.9501 MB / 0.4949 GB, free: 7.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.3004, allocations: 1.678 MB / 0.4965 GB, free: 5.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/0.3037, allocations: 2.567 MB / 0.4991 GB, free: 2.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.3037, allocations: 4 kB / 0.4991 GB, free: 2.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.1477/0.4514, allocations: 3.153 MB / 0.5021 GB, free: 93.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.674e-05/0.4515, allocations: 109.1 kB / 0.5022 GB, free: 93.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.4515, allocations: 19.38 kB / 0.5023 GB, free: 93.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.4527, allocations: 0.585 MB / 0.5028 GB, free: 93.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.4542, allocations: 395 kB / 0.5032 GB, free: 93.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.4558, allocations: 2.262 MB / 0.5054 GB, free: 91.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.4574, allocations: 167.5 kB / 0.5056 GB, free: 91.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.4576, allocations: 122.3 kB / 0.5057 GB, free: 91.75 MB / 378.7 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.001104/0.4588, allocations: 0.8114 MB / 0.5065 GB, free: 91.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.4591, allocations: 211 kB / 0.5067 GB, free: 91.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/0.4639, allocations: 3.077 MB / 0.5097 GB, free: 90.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.38e-05/0.4639, allocations: 28.08 kB / 0.5097 GB, free: 90.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.464, allocations: 2.875 kB / 0.5097 GB, free: 90.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.464, allocations: 12.22 kB / 0.5097 GB, free: 90.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007068/0.4711, allocations: 5.528 MB / 0.5151 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.4711, allocations: 3.688 kB / 0.5151 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009158/0.472, allocations: 246 kB / 0.5154 GB, free: 87.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000892/0.4729, allocations: 0.555 MB / 0.5159 GB, free: 87.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.4731, allocations: 72.33 kB / 0.516 GB, free: 87.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.4745, allocations: 2.228 MB / 0.5182 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4745, allocations: 11.08 kB / 0.5182 GB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/0.4799, allocations: 4.257 MB / 0.5223 GB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008665/0.4808, allocations: 0.5548 MB / 0.5229 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/0.4811, allocations: 75.98 kB / 0.5229 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.4822, allocations: 138.5 kB / 0.5231 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005148/0.4827, allocations: 277.5 kB / 0.5233 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.4828, allocations: 98.78 kB / 0.5234 GB, free: 80.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001083/0.4839, allocations: 1.043 MB / 0.5245 GB, free: 79.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4839, allocations: 4 kB / 0.5245 GB, free: 79.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001752/0.4857, allocations: 0.6888 MB / 0.5251 GB, free: 78.89 MB / 378.7 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.006812/0.4925, allocations: 5.567 MB / 0.5306 GB, free: 73.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004025/0.4966, allocations: 2.817 MB / 0.5333 GB, free: 70.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.4966, allocations: 6.672 kB / 0.5333 GB, free: 70.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.4989, allocations: 1.639 MB / 0.5349 GB, free: 68.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/0.5023, allocations: 0.7223 MB / 0.5356 GB, free: 68.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/0.5216, allocations: 15.26 MB / 0.5505 GB, free: 51.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000796/0.5225, allocations: 1.584 MB / 0.5521 GB, free: 50.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/0.5237, allocations: 0.9561 MB / 0.553 GB, free: 49.27 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5237, allocations: 0 / 0.553 GB, free: 49.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.948/7.471, allocations: 70.68 MB / 0.622 GB, free: 10.48 MB / 410.7 MB (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1)