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.001737/0.001737, allocations: 104.3 kB / 19.74 MB, free: 1.875 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.002235/0.002235, allocations: 211.9 kB / 23.03 MB, free: 5.02 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.03898/0.03898, allocations: 6.141 MB / 319.4 MB, free: 12.83 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.001538/0.001538, allocations: 43.92 kB / 444.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.1009, allocations: 55.02 MB / 499.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.007106/0.108, allocations: 5.549 MB / 0.4932 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.111, allocations: 1.424 MB / 0.4946 GB, free: 7.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005586/0.1116, allocations: 24 kB / 0.4946 GB, free: 6.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008191/0.1124, allocations: 290 kB / 0.4949 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.1138, allocations: 0.5278 MB / 0.4954 GB, free: 6.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.1166, allocations: 1.32 MB / 0.4967 GB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.1181, allocations: 1.132 MB / 0.4978 GB, free: 3.715 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/0.1186, allocations: 273.3 kB / 0.498 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/0.1191, allocations: 494.1 kB / 0.4985 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007696/0.1199, allocations: 0.6147 MB / 0.4991 GB, free: 2.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1201, allocations: 96 kB / 0.4992 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006511/0.1207, allocations: 343.7 kB / 0.4995 GB, free: 1.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.1209, allocations: 243 kB / 0.4998 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.1213, allocations: 461.7 kB / 0.5002 GB, free: 1.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.1228, allocations: 1.315 MB / 0.5015 GB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1228, allocations: 4 kB / 0.5015 GB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1228, allocations: 3.938 kB / 0.5015 GB, free: 15.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.1228, allocations: 0 / 0.5015 GB, free: 15.88 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.01176/0.1346, allocations: 2.895 MB / 0.5043 GB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1346, allocations: 12.03 kB / 0.5043 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.1348, allocations: 139.2 kB / 0.5045 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.1351, allocations: 128.2 kB / 0.5046 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/0.1361, allocations: 0.5525 MB / 0.5051 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.1362, allocations: 130.3 kB / 0.5052 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.1363, allocations: 92.38 kB / 0.5053 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.1388, allocations: 1.716 MB / 0.507 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.1389, allocations: 0 / 0.507 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.139, allocations: 32 kB / 0.507 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.139, allocations: 20 kB / 0.5071 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.1411, allocations: 1.261 MB / 0.5083 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006162/0.1473, allocations: 2.952 MB / 0.5112 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.1498, allocations: 1.618 MB / 0.5128 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.1511, allocations: 0.8273 MB / 0.5136 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.1513, allocations: 29.28 kB / 0.5136 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/0.1514, allocations: 51.88 kB / 0.5136 GB, free: 3.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.949e-06/0.1514, allocations: 0 / 0.5136 GB, free: 3.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.239/0.3904, allocations: 7.53 MB / 0.521 GB, free: 29.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.3904, allocations: 146.5 kB / 0.5211 GB, free: 29.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/0.3913, allocations: 0.5416 MB / 0.5217 GB, free: 29.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.3915, allocations: 58.27 kB / 0.5217 GB, free: 29.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3917, allocations: 295.3 kB / 0.522 GB, free: 29.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.392, allocations: 0.5104 MB / 0.5225 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004962/0.3925, allocations: 274.9 kB / 0.5228 GB, free: 28.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.3926, allocations: 339.9 kB / 0.5231 GB, free: 28.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.3939, allocations: 0.8472 MB / 0.5239 GB, free: 28.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.3954, allocations: 1.047 MB / 0.5249 GB, free: 28.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.398, allocations: 1.915 MB / 0.5268 GB, free: 27.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.398, allocations: 1.438 kB / 0.5268 GB, free: 27.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008848/0.4069, allocations: 3.579 MB / 0.5303 GB, free: 26.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.4069, allocations: 5.781 kB / 0.5303 GB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4069, allocations: 4 kB / 0.5303 GB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009173/0.4161, allocations: 2.291 MB / 0.5325 GB, free: 25.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008552/0.417, allocations: 219.6 kB / 0.5328 GB, free: 25.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.4345, allocations: 10.4 MB / 0.5429 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.4357, allocations: 141.2 kB / 0.543 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.4358, allocations: 49.11 kB / 0.5431 GB, free: 19.43 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.0004292/0.4362, allocations: 257.1 kB / 0.5433 GB, free: 19.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.4364, allocations: 105.2 kB / 0.5434 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00801/0.4444, allocations: 3.559 MB / 0.5469 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4444, allocations: 20.62 kB / 0.5469 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4444, allocations: 0 / 0.5469 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.4445, allocations: 11.62 kB / 0.5469 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009231/0.4537, allocations: 4.731 MB / 0.5516 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.4537, allocations: 0 / 0.5516 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.4543, allocations: 172.8 kB / 0.5517 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00816/0.4624, allocations: 2.214 MB / 0.5539 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.4626, allocations: 39.94 kB / 0.5539 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/0.4789, allocations: 10.26 MB / 0.5639 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4789, allocations: 0 / 0.5639 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009455/0.4884, allocations: 3.493 MB / 0.5674 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.4887, allocations: 122.9 kB / 0.5675 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.4889, allocations: 34.19 kB / 0.5675 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008629/0.4898, allocations: 69.48 kB / 0.5676 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/0.4902, allocations: 142.3 kB / 0.5677 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.4903, allocations: 44 kB / 0.5678 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005382/0.4909, allocations: 362.8 kB / 0.5681 GB, free: 11.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4909, allocations: 0 / 0.5681 GB, free: 11.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001645/0.4925, allocations: 0.5115 MB / 0.5686 GB, free: 11.41 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.009972/0.5025, allocations: 4.094 MB / 0.5726 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006593/0.5091, allocations: 2.738 MB / 0.5753 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.5091, allocations: 4 kB / 0.5753 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004454/0.5136, allocations: 1.75 MB / 0.577 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.5144, allocations: 118.6 kB / 0.5771 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/0.5438, allocations: 13.26 MB / 0.59 GB, free: 5.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.5443, allocations: 461.9 kB / 0.5905 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005032/0.5448, allocations: 135 kB / 0.5906 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.5453, allocations: 367.3 kB / 0.591 GB, free: 4.316 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5453, allocations: 0 / 0.591 GB, free: 4.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08749/0.6328, allocations: 42.49 MB / 0.6325 GB, free: 10.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.74, allocations: 10.67 kB / 0.6325 GB, free: 10.11 MB / 462.1 MB " [Timeout remaining time 645] (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: 17.52718503799406] Failed to read output from testmodel.py, exit status != 0: 14.88592970999889 14.917475133 14.788985013 Calling exit ...