Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000949/0.0009491, allocations: 174.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007293/0.0007293, allocations: 92.72 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 11.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02019/0.2511, allocations: 26.47 MB / 401.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.2613, allocations: 7.196 MB / 408.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.2638, allocations: 63.5 kB / 408.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.2664, allocations: 0.8317 MB / 409.6 MB, free: 14.07 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004457/0.2709, allocations: 1.461 MB / 411.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005239/0.2761, allocations: 1.71 MB / 412.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005991/0.2821, allocations: 5.183 MB / 418 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.2851, allocations: 1.729 MB / 419.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.2878, allocations: 1.417 MB / 421.1 MB, free: 2.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.2901, allocations: 1.424 MB / 422.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005311/0.2907, allocations: 116 kB / 422.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.2932, allocations: 0.7293 MB / 423.4 MB, free: 252 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008047/0.294, allocations: 0.619 MB / 424 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.2958, allocations: 1.129 MB / 425.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00396/0.2997, allocations: 3.044 MB / 428.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2998, allocations: 3.938 kB / 428.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2998, allocations: 0 / 428.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001213/0.2999, allocations: 3.938 kB / 428.2 MB, free: 11.43 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.00578/0.3057, allocations: 2.459 MB / 430.7 MB, free: 8.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3058, allocations: 8.031 kB / 430.7 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009815/0.3067, allocations: 285.8 kB / 431 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.3092, allocations: 1.409 MB / 432.4 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.3095, allocations: 303.3 kB / 432.7 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/0.3098, allocations: 216 kB / 432.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004654/0.3145, allocations: 2.722 MB / 435.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.69e-05/0.3146, allocations: 7.938 kB / 435.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.3148, allocations: 91.98 kB / 435.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.3149, allocations: 99.69 kB / 435.8 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.3189, allocations: 2.165 MB / 438 MB, free: 1.312 MB / 314.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.01417/0.3331, allocations: 10.3 MB / 448.3 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/0.3359, allocations: 1.868 MB / 450.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.3375, allocations: 1.006 MB / 451.1 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007411/0.3449, allocations: 4.743 MB / 455.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/0.3471, allocations: 1.423 MB / 457.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=193): time 3.987e-06/0.3471, allocations: 7.938 kB / 457.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=203): time 0.01316/0.3603, allocations: 6.214 MB / 463.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002585/0.3606, allocations: 0.5469 MB / 464.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.3629, allocations: 1.631 MB / 465.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.3632, allocations: 109.7 kB / 465.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008787/0.3641, allocations: 0.896 MB / 466.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/0.3648, allocations: 0.5782 MB / 467.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.3649, allocations: 52 kB / 467.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3651, allocations: 415.2 kB / 467.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.3668, allocations: 0.903 MB / 468.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.3689, allocations: 1.578 MB / 470.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/0.3723, allocations: 2.414 MB / 472.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.3723, allocations: 4 kB / 472.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005416/0.3778, allocations: 3.033 MB / 475.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.3779, allocations: 101.1 kB / 475.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.3779, allocations: 23.94 kB / 475.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.3791, allocations: 0.5802 MB / 476.4 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.3805, allocations: 387.2 kB / 476.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.3827, allocations: 2.254 MB / 479 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.3844, allocations: 163.8 kB / 479.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.3846, allocations: 116 kB / 479.3 MB, free: 6.129 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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,$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,$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,$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,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 (311): * Single equations (assignments): 305 * 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.001269/0.3859, allocations: 0.7636 MB / 480 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/0.3863, allocations: 205.6 kB / 480.2 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/0.3917, allocations: 3.027 MB / 483.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.3918, allocations: 24 kB / 483.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3918, allocations: 0 / 483.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.3918, allocations: 11.95 kB / 483.3 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009145/0.401, allocations: 5.366 MB / 488.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/0.401, allocations: 4 kB / 488.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.4021, allocations: 251.5 kB / 488.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.4033, allocations: 0.5567 MB / 489.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/0.4035, allocations: 67.94 kB / 489.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.4058, allocations: 2.231 MB / 491.8 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4058, allocations: 0 / 491.8 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00724/0.4131, allocations: 4.033 MB / 495.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.4144, allocations: 0.5333 MB / 496.3 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/0.4149, allocations: 63.98 kB / 496.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.4164, allocations: 136.1 kB / 496.5 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005664/0.417, allocations: 269.7 kB / 496.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/0.4173, allocations: 91.88 kB / 496.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001841/0.4191, allocations: 1.035 MB / 497.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4191, allocations: 0 / 497.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002419/0.4215, allocations: 0.6717 MB / 498.6 MB, free: 2.484 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,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: 36 (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.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.001838/0.4234, allocations: 0.8218 MB / 499.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1742/0.5976, allocations: 2.624 MB / 0.4903 GB, free: 112.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5977, allocations: 0 / 0.4903 GB, free: 112.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.6004, allocations: 1.428 MB / 0.4917 GB, free: 112 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/0.6041, allocations: 0.7031 MB / 0.4923 GB, free: 111.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009074/0.6132, allocations: 5.097 MB / 0.4973 GB, free: 109.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.6144, allocations: 1.563 MB / 0.4989 GB, free: 108.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.6155, allocations: 237.8 kB / 0.4991 GB, free: 108.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6155, allocations: 0 / 0.4991 GB, free: 108.5 MB / 378.7 MB Notification: Performance of Templates: time 0.06708/0.6826, allocations: 66.85 MB / 0.5644 GB, free: 45.61 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches