Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 193.2 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 47.91 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.244, allocations: 52.19 MB / 422.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005717/0.2497, allocations: 3.538 MB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004789/0.2545, allocations: 2.529 MB / 428.6 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007903/0.2553, allocations: 31.75 kB / 428.6 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.257, allocations: 0.5744 MB / 429.2 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.2583, allocations: 461.8 kB / 429.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.261, allocations: 1.114 MB / 430.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.2635, allocations: 2.165 MB / 433 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.2648, allocations: 0.9732 MB / 433.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007669/0.2655, allocations: 0.7359 MB / 434.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007568/0.2663, allocations: 0.6805 MB / 435.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.2665, allocations: 200 kB / 435.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.267, allocations: 307.8 kB / 435.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004442/0.2675, allocations: 0.4948 MB / 436.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005919/0.268, allocations: 0.5988 MB / 436.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.2703, allocations: 2.374 MB / 439.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2703, allocations: 12 kB / 439.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2703, allocations: 0 / 439.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.2704, allocations: 0 / 439.3 MB, free: 13.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.002901/0.2733, allocations: 1.868 MB / 441.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2733, allocations: 8.031 kB / 441.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.2735, allocations: 202.1 kB / 441.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.2738, allocations: 171.9 kB / 441.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.2752, allocations: 0.8285 MB / 442.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.2755, allocations: 285.5 kB / 442.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.2757, allocations: 144 kB / 442.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.2781, allocations: 1.557 MB / 444.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.2782, allocations: 4 kB / 444.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.2783, allocations: 59.98 kB / 444.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.118e-05/0.2784, allocations: 54.11 kB / 444.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.2803, allocations: 1.083 MB / 445.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005982/0.2862, allocations: 5.03 MB / 450.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.2881, allocations: 1.057 MB / 451.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.2889, allocations: 0.5652 MB / 452.2 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.2891, allocations: 17 kB / 452.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.2905, allocations: 0.9999 MB / 453.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 2.855e-06/0.2905, allocations: 0 / 453.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.002831/0.2933, allocations: 1.71 MB / 454.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003081/0.2936, allocations: 0.5364 MB / 455.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.2948, allocations: 0.9529 MB / 456.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.2949, allocations: 109.7 kB / 456.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.2954, allocations: 0.5256 MB / 457.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.2957, allocations: 357.3 kB / 457.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/0.2962, allocations: 375.5 kB / 457.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2964, allocations: 362.5 kB / 458.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/0.2973, allocations: 0.5634 MB / 458.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.2986, allocations: 1.075 MB / 459.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.3004, allocations: 1.405 MB / 461.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.3004, allocations: 3.938 kB / 461.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00264/0.3031, allocations: 1.686 MB / 462.9 MB, free: 4.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-05/0.3032, allocations: 105.1 kB / 463 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.3032, allocations: 12 kB / 463 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.3032, allocations: 20 kB / 463 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.3038, allocations: 187.5 kB / 463.2 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-05/0.3039, allocations: 24.81 kB / 463.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.3044, allocations: 155.1 kB / 463.4 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.3046, allocations: 79.98 kB / 463.4 MB, free: 3.992 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.stateGraphRoot.suspend,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008415/0.3054, allocations: 0.642 MB / 464.1 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.3056, allocations: 115.3 kB / 464.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.3077, allocations: 1.344 MB / 465.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.3078, allocations: 16 kB / 465.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3078, allocations: 8 kB / 465.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.3078, allocations: 7.969 kB / 465.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.312, allocations: 2.653 MB / 468.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.312, allocations: 4 kB / 468.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.3123, allocations: 83.77 kB / 468.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.3123, allocations: 11.94 kB / 468.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-05/0.3124, allocations: 43.95 kB / 468.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3124, allocations: 4 kB / 468.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3124, allocations: 11.94 kB / 468.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.3156, allocations: 2.173 MB / 470.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.316, allocations: 238.9 kB / 470.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.3162, allocations: 55.98 kB / 470.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.3166, allocations: 43.97 kB / 470.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.3169, allocations: 160.7 kB / 471 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/0.317, allocations: 56.03 kB / 471.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007229/0.3177, allocations: 0.5849 MB / 471.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3177, allocations: 0 / 471.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001022/0.3187, allocations: 351.2 kB / 472 MB, free: 11.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005221/0.3239, allocations: 3.228 MB / 475.2 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.3263, allocations: 1.579 MB / 476.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3263, allocations: 0 / 476.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3275, allocations: 0.8456 MB / 477.7 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/0.3284, allocations: 232.9 kB / 477.9 MB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.3425, allocations: 10.38 MB / 488.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.3431, allocations: 0.5721 MB / 488.9 MB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.3438, allocations: 201.7 kB / 489.1 MB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007062/0.3445, allocations: 499.2 kB / 489.5 MB, free: 8.957 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3445, allocations: 0 / 489.5 MB, free: 8.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/0.4076, allocations: 27.08 MB / 0.5045 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.19, allocations: 0 / 0.5045 GB, free: 14.02 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks_fmu --startTime=0 --stopTime=100 --stepSize=0.019861 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.762524995952845]