Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008469/0.0008469, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8655/0.8655, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.636e-06/9.829e-06, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01635/0.01636, allocations: 25.2 MB / 343.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007674/0.02404, allocations: 7.096 MB / 350.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.02537, allocations: 67.44 kB / 350.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.0272, allocations: 1.012 MB / 351.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.02971, allocations: 1.654 MB / 353.5 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.03313, allocations: 2.333 MB / 355.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003969/0.0371, allocations: 5.093 MB / 360.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.03902, allocations: 1.694 MB / 362.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.04136, allocations: 2.506 MB / 365.1 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.04251, allocations: 1.461 MB / 366.6 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.04276, allocations: 308 kB / 366.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.04402, allocations: 0.8892 MB / 367.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.04458, allocations: 0.8918 MB / 368.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008907/0.04547, allocations: 0.9626 MB / 369.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.04864, allocations: 4.386 MB / 374 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.04865, allocations: 0 / 374 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.04865, allocations: 0 / 374 MB, free: 14.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.032e-05/0.04868, allocations: 0 / 374 MB, free: 14.59 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.003444/0.05212, allocations: 3.081 MB / 377.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.05216, allocations: 8.922 kB / 377.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.05243, allocations: 303.5 kB / 377.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.05287, allocations: 303.2 kB / 377.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.05432, allocations: 1.365 MB / 379 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.05452, allocations: 414.8 kB / 379.4 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.05474, allocations: 228.3 kB / 379.7 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.05759, allocations: 3.303 MB / 383 MB, free: 5.102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.05762, allocations: 7.938 kB / 383 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.05776, allocations: 87.98 kB / 383.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/0.05783, allocations: 99.69 kB / 383.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.06023, allocations: 2.307 MB / 385.5 MB, free: 2.582 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006931/0.06716, allocations: 8.815 MB / 394.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.06896, allocations: 1.814 MB / 396.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.06997, allocations: 1.092 MB / 397.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004348/0.07432, allocations: 3.832 MB / 401 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/0.07586, allocations: 1.935 MB / 402.9 MB, free: 0.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=207): time 3.066e-06/0.07586, allocations: 0 / 402.9 MB, free: 0.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=217): time 0.009381/0.08524, allocations: 8.625 MB / 411.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/0.08546, allocations: 0.6958 MB / 412.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.08683, allocations: 1.665 MB / 413.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.08697, allocations: 133.7 kB / 414.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.08744, allocations: 0.8952 MB / 415 MB, free: 4.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005933/0.08803, allocations: 0.6317 MB / 415.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005075/0.08854, allocations: 0.5681 MB / 416.2 MB, free: 3.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.08861, allocations: 301.1 kB / 416.5 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.08974, allocations: 1.064 MB / 417.5 MB, free: 1.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.09128, allocations: 1.988 MB / 419.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.09381, allocations: 2.608 MB / 422.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.09382, allocations: 8 kB / 422.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.003404/0.09723, allocations: 3.297 MB / 425.4 MB, free: 9.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/0.09728, allocations: 109.2 kB / 425.5 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.0973, allocations: 24.06 kB / 425.5 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/0.09804, allocations: 0.5801 MB / 426.1 MB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.09877, allocations: 399.2 kB / 426.5 MB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.1001, allocations: 2.27 MB / 428.8 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.1007, allocations: 131.8 kB / 428.9 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003987/0.1011, allocations: 120 kB / 429 MB, free: 5.297 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],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.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,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.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.normal.stateGraphRoot.resume,tankController.normal.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,$whenCondition13,$whenCondition14,$whenCondition15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007413/0.1019, allocations: 0.7939 MB / 429.8 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.1021, allocations: 222.7 kB / 430 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.1054, allocations: 3.223 MB / 433.3 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.1055, allocations: 32 kB / 433.3 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1055, allocations: 4 kB / 433.3 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.1055, allocations: 15.95 kB / 433.3 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/0.1112, allocations: 5.263 MB / 438.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1112, allocations: 4 kB / 438.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.1117, allocations: 251.5 kB / 438.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/0.1124, allocations: 0.5684 MB / 439.4 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.1125, allocations: 67.95 kB / 439.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.1138, allocations: 2.227 MB / 441.7 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1138, allocations: 7.922 kB / 441.7 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004836/0.1186, allocations: 4.55 MB / 446.2 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005696/0.1192, allocations: 482.2 kB / 446.7 MB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.1194, allocations: 75.94 kB / 446.8 MB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.1199, allocations: 107.9 kB / 446.9 MB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/0.1203, allocations: 273.5 kB / 447.2 MB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.1204, allocations: 95.94 kB / 447.3 MB, free: 2.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009111/0.1213, allocations: 1.035 MB / 448.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1213, allocations: 4 kB / 448.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001353/0.1227, allocations: 0.6947 MB / 449 MB, free: 0.8984 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,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.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.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,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1619/0.2845, allocations: 5.905 MB / 454.9 MB, free: 124.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00364/0.2882, allocations: 2.889 MB / 457.8 MB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.2882, allocations: 0 / 457.8 MB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.2902, allocations: 1.658 MB / 459.4 MB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.2927, allocations: 0.7679 MB / 460.2 MB, free: 121.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/0.315, allocations: 19.37 MB / 479.6 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.3156, allocations: 1.024 MB / 480.6 MB, free: 101.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001287/0.3169, allocations: 0.5589 MB / 481.2 MB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007984/0.3177, allocations: 0.9415 MB / 482.1 MB, free: 99.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3177, allocations: 0 / 482.1 MB, free: 99.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07156/0.3893, allocations: 67 MB / 0.5362 GB, free: 33.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.625/10.01, allocations: 7.859 kB / 0.5363 GB, free: 33.1 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.178713 Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.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.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable shut.on from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable shut.reset[1] in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable shut.reset[1] from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable shut.reset[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable shut.reset[2] from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable start.on in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable start.on from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable start.reset[1] in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable start.reset[1] from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable start.reset[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable start.reset[2] from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable stop.on in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable stop.on from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable stop.reset[1] in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable stop.reset[1] from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable stop.reset[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable stop.reset[2] from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T1.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.T1.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T2.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.T2.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T3.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.T3.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T4.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.T4.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T5.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.T5.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.T6.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.T6.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.normal.T1.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.normal.T1.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.normal.T2.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.normal.T2.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.normal.T3.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.normal.T3.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! Error: Could not read variable tankController.normal.T4.enableFire in file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv. Warning: Get data of variable tankController.normal.T4.enableFire from file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference: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 Variables in the result:time,tank1.level,tank1.medium.T,tank2.level,tank2.medium.T [Calling sys.exit(0), Time elapsed: 11.908250506967306]