Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.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.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_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.0007739/0.000774, allocations: 91.12 kB / 16.31 MB, free: 5.609 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.0007862/0.0007862, allocations: 180.5 kB / 17.21 MB, free: 5.523 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.365/1.365, allocations: 223.2 MB / 241.2 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002529/0.0002529, allocations: 4 kB / 300.9 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1045, allocations: 50.41 MB / 351.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2407/0.3453, allocations: 26.4 MB / 377.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.3596, allocations: 7.336 MB / 385.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.3629, allocations: 60.25 kB / 385.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00322/0.3661, allocations: 0.843 MB / 386 MB, free: 8.461 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.005867/0.372, allocations: 1.414 MB / 387.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006487/0.3785, allocations: 1.67 MB / 389 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00877/0.3873, allocations: 5.202 MB / 394.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.3908, allocations: 1.657 MB / 395.9 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/0.3945, allocations: 1.433 MB / 397.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.3976, allocations: 1.454 MB / 398.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000556/0.3982, allocations: 118.2 kB / 398.9 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.4007, allocations: 0.5627 MB / 399.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007379/0.4014, allocations: 0.6332 MB / 400.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009328/0.4024, allocations: 482.7 kB / 400.6 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.4057, allocations: 3.032 MB / 403.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4057, allocations: 0 / 403.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4058, allocations: 0 / 403.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.672e-05/0.4058, allocations: 0 / 403.6 MB, free: 15.73 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.005271/0.4111, allocations: 2.555 MB / 406.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4112, allocations: 9.469 kB / 406.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005089/0.4117, allocations: 308.2 kB / 406.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.4125, allocations: 295.7 kB / 406.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.4149, allocations: 1.386 MB / 408.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.4152, allocations: 302.7 kB / 408.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/0.4155, allocations: 223.5 kB / 408.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00482/0.4203, allocations: 2.747 MB / 411.4 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/0.4204, allocations: 7.938 kB / 411.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.4206, allocations: 95.5 kB / 411.5 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.4207, allocations: 99.69 kB / 411.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004009/0.4248, allocations: 2.189 MB / 413.8 MB, free: 6.547 MB / 318.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.01469/0.4395, allocations: 10.35 MB / 424.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.4426, allocations: 2.068 MB / 426.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.4444, allocations: 1.091 MB / 427.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008488/0.4529, allocations: 5.512 MB / 432.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002369/0.4553, allocations: 1.532 MB / 434.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=207): time 7.734e-06/0.4553, allocations: 0 / 434.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.01582/0.4712, allocations: 8.501 MB / 442.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004404/0.4717, allocations: 0.7658 MB / 443.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.474, allocations: 1.618 MB / 445.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000489/0.4745, allocations: 129.9 kB / 445.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008735/0.4754, allocations: 0.8851 MB / 446.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.4761, allocations: 0.6086 MB / 446.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.4763, allocations: 56 kB / 446.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.4765, allocations: 407.6 kB / 447.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.4782, allocations: 0.954 MB / 448.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.4804, allocations: 1.678 MB / 449.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.4822, allocations: 1.14 MB / 451.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.4823, allocations: 4 kB / 451.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005575/0.4878, allocations: 3.165 MB / 454.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/0.488, allocations: 105.1 kB / 454.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.488, allocations: 16 kB / 454.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.4892, allocations: 0.5846 MB / 454.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.4907, allocations: 395.2 kB / 455.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.4928, allocations: 2.265 MB / 457.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.4947, allocations: 163.7 kB / 457.8 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.495, allocations: 124 kB / 457.9 MB, free: 8.816 MB / 366.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.001376/0.4964, allocations: 0.8133 MB / 458.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.4968, allocations: 213.5 kB / 458.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.5022, allocations: 3.07 MB / 462 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.5023, allocations: 24 kB / 462 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5023, allocations: 4 kB / 462 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.5023, allocations: 19.84 kB / 462 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009142/0.5115, allocations: 5.508 MB / 467.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.5115, allocations: 4 kB / 467.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.5126, allocations: 251.5 kB / 467.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.5137, allocations: 0.5489 MB / 468.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/0.5139, allocations: 75.95 kB / 468.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.516, allocations: 2.23 MB / 470.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.516, allocations: 8.078 kB / 470.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007485/0.5235, allocations: 4.255 MB / 474.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/0.5249, allocations: 0.5529 MB / 475.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005632/0.5255, allocations: 80.11 kB / 475.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.5268, allocations: 131.8 kB / 475.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/0.5274, allocations: 281.5 kB / 475.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/0.5276, allocations: 95.94 kB / 476 MB, free: 6.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001595/0.5292, allocations: 1.023 MB / 477 MB, free: 5.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5292, allocations: 0 / 477 MB, free: 5.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002488/0.5317, allocations: 0.6912 MB / 477.7 MB, free: 4.633 MB / 382.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.009277/0.541, allocations: 5.556 MB / 483.3 MB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005448/0.5465, allocations: 2.807 MB / 486.1 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.5466, allocations: 4.875 kB / 486.1 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.5498, allocations: 1.715 MB / 487.8 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/0.5536, allocations: 0.7123 MB / 488.5 MB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02915/0.5828, allocations: 15.07 MB / 0.4918 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.5841, allocations: 1.599 MB / 0.4934 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002335/0.5865, allocations: 0.5607 MB / 0.4939 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.5878, allocations: 0.9249 MB / 0.4948 GB, free: 6.492 MB / 414.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5879, allocations: 0 / 0.4948 GB, free: 6.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2878/0.8756, allocations: 59.64 MB / 0.553 GB, free: 148.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.8758, allocations: 275.3 kB / 0.5533 GB, free: 148 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.791/4.667, allocations: 4 kB / 0.5533 GB, free: 148 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat does not exist to compare? outputFormat=mat