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.001357/0.001357, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001364/0.001364, allocations: 186 kB / 23.7 MB, free: 4.191 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.45/1.45, allocations: 225.7 MB / 252.5 MB, free: 12.84 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.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 0.001557/0.001557, allocations: 47.92 kB / 370.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02972/0.2693, allocations: 25.4 MB / 448 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.2823, allocations: 7.079 MB / 455 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.284, allocations: 67.44 kB / 455.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.2868, allocations: 1.006 MB / 456.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.291, allocations: 1.601 MB / 457.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005765/0.2968, allocations: 2.303 MB / 460 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007603/0.3044, allocations: 5.063 MB / 465.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.3075, allocations: 1.694 MB / 466.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00311/0.3106, allocations: 1.807 MB / 468.6 MB, free: 220 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.3134, allocations: 1.622 MB / 470.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006013/0.314, allocations: 308 kB / 470.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.3162, allocations: 0.8778 MB / 471.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009607/0.3172, allocations: 0.8685 MB / 472.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.3188, allocations: 1.136 MB / 473.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.3245, allocations: 4.218 MB / 477.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3245, allocations: 0 / 477.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3245, allocations: 4 kB / 477.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.827e-05/0.3246, allocations: 0 / 477.6 MB, free: 7.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006398/0.3309, allocations: 3.104 MB / 480.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.331, allocations: 8.031 kB / 480.7 MB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003947/0.3314, allocations: 303.5 kB / 481 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008198/0.3322, allocations: 311.2 kB / 481.3 MB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.3348, allocations: 1.362 MB / 482.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/0.3352, allocations: 414.4 kB / 483.1 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/0.3356, allocations: 224 kB / 483.3 MB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.3406, allocations: 3.295 MB / 486.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.962e-05/0.3407, allocations: 7.938 kB / 486.6 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.3409, allocations: 91.97 kB / 486.7 MB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.341, allocations: 99.69 kB / 486.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004125/0.3451, allocations: 2.303 MB / 489.1 MB, free: 11.14 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.3586, allocations: 8.857 MB / 498 MB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.3616, allocations: 1.799 MB / 499.8 MB, free: 204 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.3634, allocations: 1.084 MB / 0.4891 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007929/0.3713, allocations: 3.844 MB / 0.4929 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002724/0.3741, allocations: 1.935 MB / 0.4947 GB, free: 9.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 4.719e-06/0.3741, allocations: 0 / 0.4947 GB, free: 9.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01599/0.3901, allocations: 8.625 MB / 0.5032 GB, free: 332 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004172/0.3905, allocations: 0.688 MB / 0.5038 GB, free: 15.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.3927, allocations: 1.665 MB / 0.5055 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002663/0.393, allocations: 129.7 kB / 0.5056 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000807/0.3938, allocations: 0.9067 MB / 0.5065 GB, free: 12.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006183/0.3944, allocations: 0.632 MB / 0.5071 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000828/0.3953, allocations: 0.572 MB / 0.5076 GB, free: 11.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3954, allocations: 305.1 kB / 0.5079 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.3972, allocations: 1.061 MB / 0.509 GB, free: 10.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.3998, allocations: 1.996 MB / 0.5109 GB, free: 7.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.4038, allocations: 2.598 MB / 0.5135 GB, free: 4.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.4038, allocations: 8 kB / 0.5135 GB, free: 4.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.00604/0.4098, allocations: 3.289 MB / 0.5167 GB, free: 1.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.41, allocations: 109.1 kB / 0.5168 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.41, allocations: 23.94 kB / 0.5168 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.4113, allocations: 0.5841 MB / 0.5174 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.4126, allocations: 403.1 kB / 0.5178 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.415, allocations: 2.27 MB / 0.52 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.4166, allocations: 116.1 kB / 0.5201 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.4168, allocations: 132 kB / 0.5202 GB, free: 13.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],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.001296/0.4181, allocations: 0.7977 MB / 0.521 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.4186, allocations: 222.6 kB / 0.5212 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005816/0.4244, allocations: 3.228 MB / 0.5244 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/0.4244, allocations: 24 kB / 0.5244 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4244, allocations: 8 kB / 0.5244 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/0.4244, allocations: 19.94 kB / 0.5244 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009702/0.4341, allocations: 5.271 MB / 0.5296 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.4342, allocations: 4 kB / 0.5296 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.4352, allocations: 255.5 kB / 0.5298 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.4364, allocations: 0.5489 MB / 0.5303 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/0.4366, allocations: 79.92 kB / 0.5304 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/0.439, allocations: 2.231 MB / 0.5326 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.439, allocations: 0 / 0.5326 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007699/0.4467, allocations: 4.562 MB / 0.537 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.4479, allocations: 478.2 kB / 0.5375 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.4483, allocations: 75.97 kB / 0.5376 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.4495, allocations: 99.92 kB / 0.5377 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005337/0.45, allocations: 277.5 kB / 0.5379 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/0.4502, allocations: 95.94 kB / 0.538 GB, free: 11.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.4521, allocations: 1.039 MB / 0.539 GB, free: 10.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4521, allocations: 4 kB / 0.539 GB, free: 10.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002353/0.4544, allocations: 0.6986 MB / 0.5397 GB, free: 9.414 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.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.01062/0.465, allocations: 5.902 MB / 0.5455 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005579/0.4706, allocations: 2.883 MB / 0.5483 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.4706, allocations: 4 kB / 0.5483 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2045/0.6752, allocations: 1.656 MB / 0.5499 GB, free: 130.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004916/0.6801, allocations: 0.7565 MB / 0.5507 GB, free: 130.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03533/0.7154, allocations: 19.42 MB / 0.5696 GB, free: 117.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.7166, allocations: 1.031 MB / 0.5706 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002064/0.7187, allocations: 0.5516 MB / 0.5712 GB, free: 115.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.72, allocations: 0.9405 MB / 0.5721 GB, free: 115 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.72, allocations: 0 / 0.5721 GB, free: 115 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.8229, allocations: 67.04 MB / 0.6376 GB, free: 48.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.83, allocations: 6.938 kB / 0.6376 GB, free: 48.45 MB / 462.1 MB " [Timeout remaining time 643] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 19.65172960795462]