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.001452/0.001452, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001434/0.001434, allocations: 216 kB / 23.82 MB, free: 4.48 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.565/1.565, allocations: 230.6 MB / 257.6 MB, free: 7.789 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.03832/0.03832, allocations: 6.138 MB / 320.1 MB, free: 12.72 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 39.94 kB / 445.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 55.02 MB / 0.4885 GB, free: 13.92 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.007363/0.1104, allocations: 5.537 MB / 0.4939 GB, free: 8.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.1132, allocations: 1.42 MB / 0.4953 GB, free: 6.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.1135, allocations: 19.94 kB / 0.4953 GB, free: 6.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.1141, allocations: 298 kB / 0.4956 GB, free: 6.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.1152, allocations: 0.52 MB / 0.4961 GB, free: 6.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.1179, allocations: 1.331 MB / 0.4974 GB, free: 4.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.1193, allocations: 1.124 MB / 0.4985 GB, free: 3.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005246/0.1198, allocations: 273.3 kB / 0.4988 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.1203, allocations: 490.1 kB / 0.4992 GB, free: 2.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007605/0.1211, allocations: 0.6225 MB / 0.4999 GB, free: 2.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1212, allocations: 96 kB / 0.4999 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006642/0.1219, allocations: 339.7 kB / 0.5003 GB, free: 1.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.1221, allocations: 251 kB / 0.5005 GB, free: 1.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.1225, allocations: 457.7 kB / 0.5009 GB, free: 1.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1241, allocations: 1.319 MB / 0.5022 GB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1241, allocations: 4 kB / 0.5022 GB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1241, allocations: 0 / 0.5022 GB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1241, allocations: 0 / 0.5022 GB, free: 15.8 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.01205/0.1362, allocations: 2.891 MB / 0.5051 GB, free: 12.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1362, allocations: 8.031 kB / 0.5051 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.908e-05/0.1363, allocations: 26.19 kB / 0.5051 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.1364, allocations: 131.1 kB / 0.5052 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.1367, allocations: 132.2 kB / 0.5053 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.1376, allocations: 0.5486 MB / 0.5059 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.1378, allocations: 138.3 kB / 0.506 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.1379, allocations: 100.1 kB / 0.5061 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.1405, allocations: 1.705 MB / 0.5078 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1406, allocations: 0 / 0.5078 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.1407, allocations: 36 kB / 0.5078 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1407, allocations: 20 kB / 0.5078 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.1428, allocations: 1.269 MB / 0.5091 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006254/0.1491, allocations: 2.955 MB / 0.512 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.1516, allocations: 1.618 MB / 0.5135 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.1529, allocations: 0.8273 MB / 0.5143 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.1531, allocations: 25.3 kB / 0.5144 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.1531, allocations: 59.8 kB / 0.5144 GB, free: 3.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.988e-06/0.1531, allocations: 4 kB / 0.5144 GB, free: 3.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.2381/0.3912, allocations: 7.521 MB / 0.5218 GB, free: 29.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.3913, allocations: 145.8 kB / 0.5219 GB, free: 29.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3923, allocations: 0.537 MB / 0.5224 GB, free: 29.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.3926, allocations: 60.53 kB / 0.5225 GB, free: 29.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.3928, allocations: 298.5 kB / 0.5228 GB, free: 29.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.3932, allocations: 0.5151 MB / 0.5233 GB, free: 28.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/0.3938, allocations: 274.8 kB / 0.5235 GB, free: 28.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.3939, allocations: 339.1 kB / 0.5239 GB, free: 28.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.3953, allocations: 0.8454 MB / 0.5247 GB, free: 28.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.397, allocations: 1.049 MB / 0.5257 GB, free: 28.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.3999, allocations: 1.912 MB / 0.5276 GB, free: 27.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.3999, allocations: 1.438 kB / 0.5276 GB, free: 27.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009829/0.4097, allocations: 3.583 MB / 0.5311 GB, free: 26.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.4098, allocations: 5.625 kB / 0.5311 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.4098, allocations: 0.6562 kB / 0.5311 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.42, allocations: 2.286 MB / 0.5333 GB, free: 25.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.421, allocations: 221.4 kB / 0.5335 GB, free: 25.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/0.439, allocations: 10.39 MB / 0.5437 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.4401, allocations: 140.2 kB / 0.5438 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.4402, allocations: 64.09 kB / 0.5439 GB, free: 19.32 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.0003963/0.4406, allocations: 248.9 kB / 0.5441 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.4408, allocations: 106.4 kB / 0.5442 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008579/0.4493, allocations: 3.557 MB / 0.5477 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.4494, allocations: 17.94 kB / 0.5477 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4494, allocations: 0 / 0.5477 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.4494, allocations: 14.38 kB / 0.5477 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009666/0.4591, allocations: 4.725 MB / 0.5523 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.4591, allocations: 0 / 0.5523 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.4596, allocations: 171.7 kB / 0.5525 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008608/0.4682, allocations: 2.211 MB / 0.5547 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000263/0.4685, allocations: 39.92 kB / 0.5547 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.4864, allocations: 10.28 MB / 0.5647 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4864, allocations: 0 / 0.5647 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009926/0.4963, allocations: 3.489 MB / 0.5681 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.4966, allocations: 122.9 kB / 0.5683 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.4968, allocations: 31.98 kB / 0.5683 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/0.4977, allocations: 69.38 kB / 0.5684 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/0.4982, allocations: 138.3 kB / 0.5685 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.4984, allocations: 44 kB / 0.5685 GB, free: 12.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005616/0.4989, allocations: 362.8 kB / 0.5689 GB, free: 11.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4989, allocations: 4 kB / 0.5689 GB, free: 11.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001567/0.5005, allocations: 0.5154 MB / 0.5694 GB, free: 11.27 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.01066/0.5112, allocations: 4.083 MB / 0.5734 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006893/0.518, allocations: 2.746 MB / 0.5761 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.5181, allocations: 4 kB / 0.5761 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004765/0.5228, allocations: 1.754 MB / 0.5778 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000853/0.5237, allocations: 123.4 kB / 0.5779 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/0.5551, allocations: 13.24 MB / 0.5908 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.5558, allocations: 465.9 kB / 0.5913 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005421/0.5563, allocations: 127.2 kB / 0.5914 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/0.5568, allocations: 367.3 kB / 0.5917 GB, free: 4.184 MB / 414.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5568, allocations: 0 / 0.5917 GB, free: 4.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08765/0.6445, allocations: 41.71 MB / 0.6325 GB, free: 10.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.21, allocations: 9.484 kB / 0.6325 GB, free: 10.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.03253803192638] Failed to read output from testmodel.py, exit status != 0: 16.400182986981235 16.424965021 16.296110734 Calling exit ...