Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007916/0.0007916, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002048, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007878/0.0007878, allocations: 150 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.0019, allocations: 479.5 kB / 11.64 MB, free: 2.535 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.987/0.987, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2075/1.194, allocations: 49.5 MB / 220.5 MB, free: 5.297 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04065/0.04065, allocations: 5.557 MB / 226.8 MB, free: 15 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01106/0.05171, allocations: 1.991 MB / 228.8 MB, free: 13 MB / 234.7 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 230 MB, free: 11.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.036e-05, allocations: 2.312 kB / 230 MB, free: 11.74 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.iOut.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(0.5, ns, np)) as default value. Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.03206/0.03208, allocations: 10.09 MB / 240.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.03519/0.06727, allocations: 6.07 MB / 246.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.07108, allocations: 71.69 kB / 246.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.07528, allocations: 1.551 MB / 247.8 MB, free: 9.875 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002736/0.07801, allocations: 0.6665 MB / 248.5 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.08029, allocations: 1.214 MB / 249.7 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.09239, allocations: 10.72 MB / 260.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00528/0.09767, allocations: 3.688 MB / 264.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009402/0.1071, allocations: 6.978 MB / 271.1 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005428/0.1125, allocations: 4.298 MB / 275.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002574/0.1151, allocations: 1.281 MB / 276.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.1183, allocations: 1.316 MB / 278 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002708/0.121, allocations: 2.05 MB / 280 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00535/0.1263, allocations: 2.418 MB / 282.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008777/0.1351, allocations: 8.238 MB / 290.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.799e-05/0.1351, allocations: 0 / 290.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1351, allocations: 4 kB / 290.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003694/0.1355, allocations: 0 / 290.7 MB, free: 14.77 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1082 * Number of variables: 1082 Notification: Performance of Generate backend data structure: time 0.01369/0.1492, allocations: 7.408 MB / 298.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1492, allocations: 12.03 kB / 298.1 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/0.1506, allocations: 0.6149 MB / 298.7 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.1523, allocations: 0.7854 MB / 299.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005419/0.1577, allocations: 3.179 MB / 302.7 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.158, allocations: 360.8 kB / 303 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005586/0.1585, allocations: 444.3 kB / 303.4 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004974/0.1635, allocations: 3.911 MB / 307.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.47e-05/0.1636, allocations: 11.94 kB / 307.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/0.1639, allocations: 176 kB / 307.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.164, allocations: 156.2 kB / 307.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.1664, allocations: 1.355 MB / 309.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02751/0.1939, allocations: 17.03 MB / 326.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/0.1966, allocations: 1.734 MB / 327.8 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.1981, allocations: 0.657 MB / 328.5 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1982, allocations: 41.98 kB / 328.5 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.1995, allocations: 0.9873 MB / 329.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=199): time 3.987e-06/0.1995, allocations: 0 / 329.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=199): time 0.005067/0.2045, allocations: 1.75 MB / 331.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.2047, allocations: 385.8 kB / 331.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1426/0.3473, allocations: 5.777 MB / 337.4 MB, free: 82.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007345/0.3481, allocations: 73.86 kB / 337.5 MB, free: 82.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002314/0.3504, allocations: 1.848 MB / 339.3 MB, free: 82.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007721/0.3511, allocations: 0.7001 MB / 340 MB, free: 82.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007364/0.3519, allocations: 498.7 kB / 340.5 MB, free: 82.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.274e-05/0.3519, allocations: 308 kB / 340.8 MB, free: 81.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.353, allocations: 411.6 kB / 341.2 MB, free: 81.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.3542, allocations: 1.3 MB / 342.5 MB, free: 80.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.3575, allocations: 1.864 MB / 344.4 MB, free: 79.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.3575, allocations: 6.188 kB / 344.4 MB, free: 79.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.004035/0.3615, allocations: 1.631 MB / 346 MB, free: 79.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.3615, allocations: 18.61 kB / 346 MB, free: 79.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.3616, allocations: 18.94 kB / 346 MB, free: 79.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.3621, allocations: 234.8 kB / 346.3 MB, free: 79.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.3639, allocations: 0.5565 MB / 346.8 MB, free: 79.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.3663, allocations: 2.628 MB / 349.5 MB, free: 78.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.3687, allocations: 295.6 kB / 349.8 MB, free: 78.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.3689, allocations: 75.81 kB / 349.8 MB, free: 78.14 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = \"C\" fixed = true ) type: Real [3,1,1] batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = \"C\" fixed = true ) type: Real [3,1,1] batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = \"C\" fixed = true ) type: Real [3,1,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 52 (charger.controlledCurrent.limitedController.limIntegrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,$PRE.cycler.chargingFinished.fallingEdge.not_u,$PRE.cycler.cycling.edge1.u,$PRE.cycler.cycling.BeforeChargingDelay.timer.entryTime,$PRE.cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.timer.entryTime,$PRE.cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.cycling.or1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.edge1.y,cycler.cycling.edge1.u,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.u,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.u,cycler.cycling.lessVinMin.y,cycler.cycling.rSFlipFlop.pre.u,cycler.Charging,cycler.Discharging,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,24)} Notification: Performance of prepare postOptimizeDAE: time 0.002335/0.3713, allocations: 360.3 kB / 350.2 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/0.3725, allocations: 355.8 kB / 350.5 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.3754, allocations: 1.374 MB / 351.9 MB, free: 77.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3754, allocations: 27.61 kB / 351.9 MB, free: 77.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3754, allocations: 0 / 351.9 MB, free: 77.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.3754, allocations: 11.25 kB / 351.9 MB, free: 77.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008955/0.3844, allocations: 5.744 MB / 357.7 MB, free: 75.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3844, allocations: 0 / 357.7 MB, free: 75.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.3854, allocations: 366.1 kB / 358 MB, free: 75.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003605/0.3858, allocations: 187.9 kB / 358.2 MB, free: 75.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.3859, allocations: 75.97 kB / 358.3 MB, free: 74.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.3889, allocations: 3.438 MB / 361.7 MB, free: 71.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3889, allocations: 0 / 361.7 MB, free: 71.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.3917, allocations: 1.757 MB / 363.5 MB, free: 69.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/0.3934, allocations: 0.6635 MB / 364.2 MB, free: 69.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008994/0.3943, allocations: 75.98 kB / 364.2 MB, free: 69.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009836/0.3952, allocations: 79.95 kB / 364.3 MB, free: 68.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.3955, allocations: 137.7 kB / 364.4 MB, free: 68.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.3956, allocations: 35.98 kB / 364.5 MB, free: 68.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003522/0.3991, allocations: 2.157 MB / 366.6 MB, free: 66.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3991, allocations: 3.375 kB / 366.6 MB, free: 66.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003136/0.4022, allocations: 1.29 MB / 367.9 MB, free: 65.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (charger.controlledCurrent.limitedController.limIntegrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y) * Number of discrete variables: 23 (cycler.cycling.AfterChargingDelay.u,cycler.cycling.BeforeChargingDelay.u,$whenCondition2,$whenCondition1,cycler.Discharging,cycler.Charging,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.edge1.u,cycler.cycling.edge1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.or1.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.fallingEdge.not_u) * Number of discrete states: 5 (cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.cycling.edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00211/0.4043, allocations: 1.627 MB / 369.6 MB, free: 64.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.4066, allocations: 1.363 MB / 370.9 MB, free: 62.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.419e-05/0.4067, allocations: 57.81 kB / 371 MB, free: 62.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008285/0.4075, allocations: 0.7549 MB / 371.7 MB, free: 62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/0.4122, allocations: 1.339 MB / 373.1 MB, free: 60.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04615/0.4583, allocations: 28.56 MB / 401.6 MB, free: 31.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.46, allocations: 1.514 MB / 403.1 MB, free: 30.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002174/0.4622, allocations: 0.5354 MB / 403.7 MB, free: 29.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004695/0.4668, allocations: 3.197 MB / 406.9 MB, free: 26.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/0.4669, allocations: 0 / 406.9 MB, free: 26.57 MB / 330.7 MB Notification: FMU-only work: backend 0.000835, simCode 0.02677, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5186/0.9855, allocations: 230.8 MB / 0.6227 GB, free: 112.5 MB / 394.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 4.073/5.058, allocations: 22.25 kB / 0.6227 GB, free: 112.5 MB / 394.7 MB " [Timeout remaining time 655] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe >> ../files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=me --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 252.0] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-cvode.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-euler.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy_res.csv --start-time 0 --stop-time 20000 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy-fmi3-cs-cvode.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 20000 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 1 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_fmpy-fmi3-cs-cvode.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] fmpy-fmi3-cs-cvode timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.360544453375041]