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.001285/0.001285, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.00211/0.00211, allocations: 187.1 kB / 23.72 MB, free: 4.684 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.512/1.512, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.002539/0.002539, allocations: 51.92 kB / 370.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3206, allocations: 52.17 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005494/0.3261, allocations: 3.868 MB / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004615/0.3307, allocations: 2.603 MB / 429.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006971/0.3314, allocations: 39.69 kB / 429.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3328, allocations: 0.5755 MB / 429.7 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3339, allocations: 449.8 kB / 430.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.3363, allocations: 1.123 MB / 431.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.3392, allocations: 2.173 MB / 433.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.3406, allocations: 0.9795 MB / 434.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009691/0.3416, allocations: 0.7476 MB / 435.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009718/0.3426, allocations: 0.7624 MB / 435.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.3428, allocations: 200 kB / 436.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005555/0.3434, allocations: 315.8 kB / 436.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.3438, allocations: 490.7 kB / 436.9 MB, free: 280 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.3446, allocations: 0.7853 MB / 437.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.3474, allocations: 2.363 MB / 440 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3474, allocations: 0 / 440 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3474, allocations: 0 / 440 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.3475, allocations: 0 / 440 MB, free: 13.12 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.00404/0.3515, allocations: 1.876 MB / 441.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.3516, allocations: 12.03 kB / 441.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/0.3518, allocations: 190.2 kB / 442.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.3521, allocations: 171.9 kB / 442.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.3535, allocations: 0.8503 MB / 443.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.3538, allocations: 281.5 kB / 443.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.354, allocations: 152 kB / 443.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.3564, allocations: 1.484 MB / 445 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.3565, allocations: 7.938 kB / 445.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.3566, allocations: 56 kB / 445.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.3566, allocations: 46.17 kB / 445.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.3584, allocations: 0.9882 MB / 446.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006573/0.365, allocations: 5.435 MB / 451.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.3669, allocations: 0.9535 MB / 452.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008003/0.3677, allocations: 482.4 kB / 453 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.3678, allocations: 21 kB / 453 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.3691, allocations: 0.9012 MB / 453.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 2.946e-06/0.3691, allocations: 0 / 453.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.002855/0.372, allocations: 1.497 MB / 455.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003935/0.3723, allocations: 0.6 MB / 456 MB, free: 12.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3737, allocations: 0.9412 MB / 457 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.3739, allocations: 109.7 kB / 457.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005121/0.3744, allocations: 0.5334 MB / 457.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.3748, allocations: 345.4 kB / 457.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/0.3753, allocations: 387.5 kB / 458.3 MB, free: 10 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3755, allocations: 353.9 kB / 458.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008832/0.3764, allocations: 479.8 kB / 459.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.3777, allocations: 0.9115 MB / 460 MB, free: 8.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.3796, allocations: 1.374 MB / 461.4 MB, free: 6.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3796, allocations: 7.938 kB / 461.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002814/0.3825, allocations: 1.584 MB / 463 MB, free: 4.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.3826, allocations: 101.1 kB / 463.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.3826, allocations: 15.98 kB / 463.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/0.3826, allocations: 20 kB / 463.1 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.3832, allocations: 183.5 kB / 463.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.488e-05/0.3833, allocations: 35.84 kB / 463.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.3839, allocations: 151 kB / 463.5 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.384, allocations: 75.98 kB / 463.6 MB, free: 4.316 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.0009436/0.385, allocations: 0.6381 MB / 464.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.3852, allocations: 123.3 kB / 464.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.3873, allocations: 1.214 MB / 465.5 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.3873, allocations: 12 kB / 465.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.3873, allocations: 4 kB / 465.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.3873, allocations: 11.97 kB / 465.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.3917, allocations: 2.679 MB / 468.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.3917, allocations: 4 kB / 468.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.3921, allocations: 75.77 kB / 468.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.3921, allocations: 11.94 kB / 468.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.3922, allocations: 43.95 kB / 468.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.3922, allocations: 4.281 kB / 468.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3922, allocations: 4 kB / 468.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/0.3952, allocations: 1.917 MB / 470.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.3957, allocations: 234.9 kB / 470.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.3959, allocations: 59.97 kB / 470.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3963, allocations: 47.97 kB / 470.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.3966, allocations: 152.8 kB / 470.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/0.3967, allocations: 55.97 kB / 470.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007864/0.3975, allocations: 0.5771 MB / 471.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3975, allocations: 0 / 471.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001078/0.3985, allocations: 351.2 kB / 471.8 MB, free: 11.93 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,$cse1,$cse2,$cse3,$cse4,$cse5,$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 (123): * Single equations (assignments): 96 * 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.005039/0.4036, allocations: 2.939 MB / 474.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.4061, allocations: 1.37 MB / 476.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4061, allocations: 0 / 476.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.4072, allocations: 0.7303 MB / 476.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4083, allocations: 223.5 kB / 477 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.4235, allocations: 9.816 MB / 486.8 MB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009791/0.4245, allocations: 1.178 MB / 488 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006968/0.4252, allocations: 197.6 kB / 488.2 MB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.4259, allocations: 495.2 kB / 488.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4259, allocations: 0 / 488.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0683/0.4942, allocations: 26.42 MB / 0.503 GB, free: 176 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.41, allocations: 4.062 kB / 0.5031 GB, free: 172 kB / 414.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019861 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.csv","/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] "Error: Could not read variable shut.on in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable shut.on from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable shut.reset[1] in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable shut.reset[1] from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable shut.reset[2] in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable shut.reset[2] from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable start.on in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable start.on from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable start.reset[1] in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable start.reset[1] from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable start.reset[2] in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable start.reset[2] from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable stop.on in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable stop.on from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable stop.reset[1] in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable stop.reset[1] from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable stop.reset[2] in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable stop.reset[2] from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T1.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.T1.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T2.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.T2.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T3.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.T3.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T4.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.T4.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T5.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.T5.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T6.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.T6.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.makeProduct.T1.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.makeProduct.T1.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.makeProduct.T2.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.makeProduct.T2.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.makeProduct.T3.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.makeProduct.T3.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! Error: Could not read variable tankController.makeProduct.T4.enableFire in file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv. Warning: Get data of variable tankController.makeProduct.T4.enableFire from file Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.162584235000395]