Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.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.00132/0.00132, allocations: 118.2 kB / 19.74 MB, free: 2.152 MB / 14.72 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.001427/0.001427, allocations: 214.4 kB / 23.05 MB, free: 5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0407/0.0407, allocations: 6.135 MB / 319.4 MB, free: 12.98 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 43.92 kB / 444.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 55.02 MB / 499.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.00782/0.1244, allocations: 6.312 MB / 0.494 GB, free: 7.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003294/0.1277, allocations: 1.49 MB / 0.4955 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.1282, allocations: 16 kB / 0.4955 GB, free: 6.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008179/0.129, allocations: 310 kB / 0.4958 GB, free: 6.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.1304, allocations: 0.5122 MB / 0.4963 GB, free: 5.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.1337, allocations: 1.429 MB / 0.4977 GB, free: 4.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.1358, allocations: 1.128 MB / 0.4988 GB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005902/0.1364, allocations: 277.3 kB / 0.499 GB, free: 2.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007368/0.1372, allocations: 494.1 kB / 0.4995 GB, free: 2.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008868/0.138, allocations: 0.6147 MB / 0.5001 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.1382, allocations: 96 kB / 0.5002 GB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008349/0.139, allocations: 347.8 kB / 0.5005 GB, free: 1.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.1393, allocations: 242.9 kB / 0.5007 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005623/0.1398, allocations: 0.548 MB / 0.5013 GB, free: 440 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1417, allocations: 1.311 MB / 0.5026 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1418, allocations: 0 / 0.5026 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1418, allocations: 4 kB / 0.5026 GB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.1418, allocations: 0 / 0.5026 GB, free: 15.11 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01228/0.154, allocations: 2.899 MB / 0.5054 GB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1541, allocations: 8.031 kB / 0.5054 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.1543, allocations: 135.2 kB / 0.5055 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.1546, allocations: 128.2 kB / 0.5057 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.1556, allocations: 0.5524 MB / 0.5062 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.1558, allocations: 138.3 kB / 0.5063 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.1559, allocations: 92.38 kB / 0.5064 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.1581, allocations: 1.311 MB / 0.5077 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.1581, allocations: 0 / 0.5077 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.1582, allocations: 36 kB / 0.5077 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.1583, allocations: 20 kB / 0.5078 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.1604, allocations: 1.265 MB / 0.509 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006781/0.1671, allocations: 3.859 MB / 0.5128 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.1698, allocations: 1.622 MB / 0.5143 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.1711, allocations: 0.8351 MB / 0.5152 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.1713, allocations: 33.27 kB / 0.5152 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.1713, allocations: 55.81 kB / 0.5152 GB, free: 1.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.266e-06/0.1713, allocations: 0 / 0.5152 GB, free: 1.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.2583/0.4297, allocations: 7.523 MB / 0.5226 GB, free: 28.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.4297, allocations: 153.1 kB / 0.5227 GB, free: 28.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.4305, allocations: 0.5341 MB / 0.5233 GB, free: 28.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.4307, allocations: 59.8 kB / 0.5233 GB, free: 28.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.4308, allocations: 300.4 kB / 0.5236 GB, free: 28.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.4312, allocations: 0.5092 MB / 0.5241 GB, free: 28.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004555/0.4317, allocations: 274.4 kB / 0.5244 GB, free: 28.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.4317, allocations: 340.6 kB / 0.5247 GB, free: 27.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.433, allocations: 0.844 MB / 0.5255 GB, free: 27.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.4343, allocations: 0.9791 MB / 0.5265 GB, free: 27.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.4369, allocations: 1.905 MB / 0.5283 GB, free: 27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.437, allocations: 2.25 kB / 0.5283 GB, free: 27 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01025/0.4472, allocations: 3.584 MB / 0.5318 GB, free: 25.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.4472, allocations: 5.062 kB / 0.5318 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4472, allocations: 1.281 kB / 0.5318 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009663/0.4569, allocations: 2.294 MB / 0.5341 GB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/0.4578, allocations: 216.2 kB / 0.5343 GB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/0.4764, allocations: 10.73 MB / 0.5448 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.4775, allocations: 138 kB / 0.5449 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4776, allocations: 51.7 kB / 0.5449 GB, free: 17.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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 {(20,48)} Notification: Performance of prepare postOptimizeDAE: time 0.0003932/0.478, allocations: 257 kB / 0.5452 GB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.4781, allocations: 106.6 kB / 0.5453 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008514/0.4867, allocations: 3.554 MB / 0.5488 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4867, allocations: 17.11 kB / 0.5488 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4867, allocations: 0 / 0.5488 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.4867, allocations: 11.62 kB / 0.5488 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009921/0.4966, allocations: 5.056 MB / 0.5537 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.4966, allocations: 0 / 0.5537 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.4972, allocations: 171.7 kB / 0.5539 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008172/0.5054, allocations: 2.214 MB / 0.556 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.5056, allocations: 41 kB / 0.5561 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/0.5233, allocations: 10.59 MB / 0.5664 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5233, allocations: 0 / 0.5664 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00987/0.5331, allocations: 3.496 MB / 0.5698 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.5334, allocations: 122.9 kB / 0.57 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.5337, allocations: 32 kB / 0.57 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008979/0.5346, allocations: 73.59 kB / 0.5701 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004785/0.535, allocations: 138.3 kB / 0.5702 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5352, allocations: 47.98 kB / 0.5702 GB, free: 10.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005583/0.5357, allocations: 362.8 kB / 0.5706 GB, free: 9.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5357, allocations: 0 / 0.5706 GB, free: 9.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001607/0.5373, allocations: 0.5154 MB / 0.5711 GB, free: 9.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 102 * 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 {(20,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01031/0.5476, allocations: 4.077 MB / 0.5751 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007013/0.5546, allocations: 2.75 MB / 0.5777 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.5547, allocations: 0.875 kB / 0.5777 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005615/0.5603, allocations: 1.757 MB / 0.5795 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.5613, allocations: 128 kB / 0.5796 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03177/0.5931, allocations: 13.24 MB / 0.5925 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008161/0.5939, allocations: 1.05 MB / 0.5935 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005002/0.5944, allocations: 135.2 kB / 0.5937 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.5949, allocations: 363.3 kB / 0.594 GB, free: 1.758 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5949, allocations: 0 / 0.594 GB, free: 1.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.6954, allocations: 45.64 MB / 0.6386 GB, free: 4.324 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/15.85, allocations: 2.812 kB / 0.6386 GB, free: 4.324 MB / 462.1 MB " [Timeout remaining time 644] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.623159604001557] Failed to read output from testmodel.py, exit status != 0: 15.988010943998233 16.013105041 15.866790556 Calling exit ...