Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SwitchWithArc,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SwitchWithArc",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SwitchWithArc,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SwitchWithArc",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.89 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2914, allocations: 53.41 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.004317/0.2958, allocations: 2.69 MB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2972, allocations: 0.7322 MB / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2974, allocations: 11.94 kB / 435.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.2976, allocations: 51.5 kB / 435.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.2978, allocations: 87.19 kB / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.2982, allocations: 111.7 kB / 435.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.2986, allocations: 366.4 kB / 436 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2988, allocations: 87.69 kB / 436 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.299, allocations: 147.5 kB / 436.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.2993, allocations: 151.4 kB / 436.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.632e-05/0.2993, allocations: 32 kB / 436.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.2994, allocations: 32 kB / 436.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.2994, allocations: 67.77 kB / 436.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.2996, allocations: 143.4 kB / 436.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.3, allocations: 370.5 kB / 437 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3, allocations: 0 / 437 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3, allocations: 0 / 437 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3, allocations: 0 / 437 MB, free: 1.391 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000997/0.301, allocations: 0.5339 MB / 437.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3011, allocations: 12.03 kB / 437.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.837e-05/0.3011, allocations: 8.844 kB / 437.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.3012, allocations: 74.66 kB / 437.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.3013, allocations: 40.7 kB / 437.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.3016, allocations: 206.7 kB / 437.8 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.3018, allocations: 132 kB / 438 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.3018, allocations: 28.12 kB / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.3024, allocations: 357.3 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3024, allocations: 0 / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.3024, allocations: 8 kB / 438.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3024, allocations: 8 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.3028, allocations: 190.5 kB / 438.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.3044, allocations: 1.011 MB / 439.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.3048, allocations: 162.5 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3049, allocations: 68.83 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3049, allocations: 4 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.3052, allocations: 212.6 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.3052, allocations: 0 / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001039/0.3063, allocations: 306.5 kB / 440.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.3063, allocations: 110.8 kB / 440.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3066, allocations: 224.9 kB / 440.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.3066, allocations: 29.7 kB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3067, allocations: 184.5 kB / 440.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.923e-05/0.3068, allocations: 75.41 kB / 440.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3069, allocations: 69.53 kB / 441 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3071, allocations: 334.8 kB / 441.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3072, allocations: 67.97 kB / 441.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.3075, allocations: 196.9 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.3078, allocations: 192.2 kB / 441.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3078, allocations: 0 / 441.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004621/0.3082, allocations: 272.6 kB / 442 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3082, allocations: 6.5 kB / 442 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3082, allocations: 4 kB / 442 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.3085, allocations: 52.81 kB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.3087, allocations: 51.91 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.3102, allocations: 1.461 MB / 443.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3104, allocations: 35.83 kB / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3105, allocations: 12 kB / 443.6 MB, free: 10.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,switch2.tSwitch,$PRE.switch2.tSwitch,switch2.quenched,$PRE.switch2.quenched,switch2.off,$PRE.switch2.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.3106, allocations: 153.6 kB / 443.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.3107, allocations: 23.86 kB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.3107, allocations: 30.28 kB / 443.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3107, allocations: 0 / 443.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3107, allocations: 7.984 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3107, allocations: 3.938 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.3111, allocations: 264.5 kB / 444.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3111, allocations: 4 kB / 444.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.3113, allocations: 31.98 kB / 444.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.3115, allocations: 56.8 kB / 444.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3115, allocations: 4 kB / 444.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.3128, allocations: 1.326 MB / 445.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3128, allocations: 0 / 445.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.3134, allocations: 321.2 kB / 445.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.3135, allocations: 43.73 kB / 445.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.3135, allocations: 4 kB / 445.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.3137, allocations: 15.98 kB / 445.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.3138, allocations: 31.94 kB / 445.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3138, allocations: 12.16 kB / 445.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.314, allocations: 164.5 kB / 446.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.314, allocations: 3.938 kB / 446.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.3143, allocations: 79.89 kB / 446.2 MB, free: 7.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor1.i,inductor2.i) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,booleanPulse.pulseStart,switch2.off,switch2.quenched,switch2.tSwitch) * Number of discrete states: 2 (switch2.quenched,switch2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.3154, allocations: 0.859 MB / 447 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000601/0.316, allocations: 282.6 kB / 447.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.316, allocations: 0 / 447.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.3163, allocations: 197.5 kB / 447.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3166, allocations: 40.41 kB / 447.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.3206, allocations: 2.607 MB / 450.2 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.3207, allocations: 146.9 kB / 450.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.3208, allocations: 22.3 kB / 450.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.321, allocations: 83.41 kB / 450.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.321, allocations: 0 / 450.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/0.3624, allocations: 5.987 MB / 456.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.03, allocations: 6.719 kB / 456.4 MB, free: 13.23 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_SwitchWithArc_fmu --startTime=0 --stopTime=2 --stepSize=0.00025 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_SwitchWithArc.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SwitchWithArc/SwitchWithArc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inductor1.i,inductor2.i Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,constantVoltage1.V,constantVoltage1.i,constantVoltage1.n.i,constantVoltage1.n.v,constantVoltage1.p.i,constantVoltage1.p.v,constantVoltage1.v,constantVoltage2.V,constantVoltage2.i,constantVoltage2.n.i,constantVoltage2.n.v,constantVoltage2.p.i,constantVoltage2.p.v,constantVoltage2.v,der(inductor1.i),der(inductor2.i),ground1.p.i,ground1.p.v,ground2.p.i,ground2.p.v,inductor1.L,inductor1.i,inductor1.n.i,inductor1.n.v,inductor1.p.i,inductor1.p.v,inductor1.v,inductor2.L,inductor2.i,inductor2.n.i,inductor2.n.v,inductor2.p.i,inductor2.p.v,inductor2.v,resistor1.LossPower,resistor1.R,resistor1.R_actual,resistor1.T,resistor1.T_heatPort,resistor1.T_ref,resistor1.alpha,resistor1.i,resistor1.n.i,resistor1.n.v,resistor1.p.i,resistor1.p.v,resistor1.useHeatPort,resistor1.v,resistor2.LossPower,resistor2.R,resistor2.R_actual,resistor2.T,resistor2.T_heatPort,resistor2.T_ref,resistor2.alpha,resistor2.i,resistor2.n.i,resistor2.n.v,resistor2.p.i,resistor2.p.v,resistor2.useHeatPort,resistor2.v,switch1.Goff,switch1.LossPower,switch1.Ron,switch1.T,switch1.T_heatPort,switch1.control,switch1.i,switch1.n.i,switch1.n.v,switch1.p.i,switch1.p.v,switch1.useHeatPort,switch1.v,switch2.Goff,switch2.LossPower,switch2.Ron,switch2.T,switch2.T_heatPort,switch2.V0,switch2.Vmax,switch2.control,switch2.dVdt,switch2.i,switch2.n.i,switch2.n.v,switch2.off,switch2.p.i,switch2.p.v,switch2.useHeatPort,switch2.v,time [Calling sys.exit(0), Time elapsed: 15.911046960041858]