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.001307/0.001307, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001556/0.001556, allocations: 217.1 kB / 23.03 MB, free: 5.016 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.03704/0.03704, allocations: 6.14 MB / 319.4 MB, free: 12.77 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.001573/0.001573, allocations: 47.94 kB / 444.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1177, allocations: 55.02 MB / 499.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.007603/0.1253, allocations: 5.534 MB / 0.4932 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.1287, allocations: 1.432 MB / 0.4946 GB, free: 6.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.1291, allocations: 16 kB / 0.4946 GB, free: 6.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.1299, allocations: 298 kB / 0.4949 GB, free: 6.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.1311, allocations: 0.5161 MB / 0.4954 GB, free: 6.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.1341, allocations: 1.339 MB / 0.4967 GB, free: 4.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.1362, allocations: 1.116 MB / 0.4978 GB, free: 3.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005173/0.1367, allocations: 261.3 kB / 0.498 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007227/0.1374, allocations: 486.1 kB / 0.4985 GB, free: 2.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008021/0.1382, allocations: 0.5521 MB / 0.499 GB, free: 2.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.1384, allocations: 99.94 kB / 0.4991 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.1391, allocations: 331.7 kB / 0.4994 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.1394, allocations: 243 kB / 0.4997 GB, free: 1.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.1398, allocations: 457.7 kB / 0.5001 GB, free: 1.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.1415, allocations: 1.319 MB / 0.5014 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1415, allocations: 0 / 0.5014 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1415, allocations: 4 kB / 0.5014 GB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1415, allocations: 0 / 0.5014 GB, free: 15.95 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.01209/0.1536, allocations: 2.895 MB / 0.5042 GB, free: 13.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1537, allocations: 8.031 kB / 0.5042 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.1538, allocations: 135 kB / 0.5043 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.1541, allocations: 132.2 kB / 0.5045 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.1552, allocations: 0.5525 MB / 0.505 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.1554, allocations: 134.3 kB / 0.5051 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.1556, allocations: 96.38 kB / 0.5052 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.1581, allocations: 1.712 MB / 0.5069 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1582, allocations: 0 / 0.5069 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.1583, allocations: 36 kB / 0.5069 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.1583, allocations: 20 kB / 0.507 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.1604, allocations: 1.257 MB / 0.5082 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006481/0.1668, allocations: 2.948 MB / 0.5111 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.1695, allocations: 1.626 MB / 0.5127 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.1709, allocations: 0.8273 MB / 0.5135 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.1711, allocations: 33.22 kB / 0.5135 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.912e-05/0.1712, allocations: 51.88 kB / 0.5135 GB, free: 3.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.118e-06/0.1712, allocations: 0 / 0.5135 GB, free: 3.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.2337/0.4049, allocations: 7.529 MB / 0.5209 GB, free: 29.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.405, allocations: 144.7 kB / 0.521 GB, free: 29.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.4057, allocations: 0.54 MB / 0.5216 GB, free: 29.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.4059, allocations: 58.3 kB / 0.5216 GB, free: 29.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.4061, allocations: 295 kB / 0.5219 GB, free: 29.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.4064, allocations: 0.5128 MB / 0.5224 GB, free: 29.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004351/0.4068, allocations: 275.7 kB / 0.5227 GB, free: 28.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.4069, allocations: 339.3 kB / 0.523 GB, free: 28.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.4081, allocations: 0.8465 MB / 0.5238 GB, free: 28.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.4095, allocations: 1.054 MB / 0.5248 GB, free: 28.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.4121, allocations: 1.909 MB / 0.5267 GB, free: 27.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4121, allocations: 0 / 0.5267 GB, free: 27.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009378/0.4215, allocations: 3.583 MB / 0.5302 GB, free: 26.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4215, allocations: 4.812 kB / 0.5302 GB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4215, allocations: 0.625 kB / 0.5302 GB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009737/0.4313, allocations: 2.289 MB / 0.5324 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009287/0.4322, allocations: 224.8 kB / 0.5327 GB, free: 25.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/0.4509, allocations: 10.39 MB / 0.5428 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.4521, allocations: 136.7 kB / 0.5429 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.4522, allocations: 57.11 kB / 0.543 GB, free: 19.49 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.000394/0.4526, allocations: 256.1 kB / 0.5432 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.4528, allocations: 104.8 kB / 0.5433 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008455/0.4612, allocations: 3.557 MB / 0.5468 GB, free: 17.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4613, allocations: 17.62 kB / 0.5468 GB, free: 17.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4613, allocations: 0 / 0.5468 GB, free: 17.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.4613, allocations: 7.969 kB / 0.5468 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009442/0.4707, allocations: 4.732 MB / 0.5515 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.4707, allocations: 7.266 kB / 0.5515 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.4713, allocations: 171.7 kB / 0.5516 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008648/0.4799, allocations: 2.21 MB / 0.5538 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.4801, allocations: 39.92 kB / 0.5538 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/0.4963, allocations: 10.26 MB / 0.5638 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4963, allocations: 3.984 kB / 0.5638 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009629/0.506, allocations: 3.493 MB / 0.5673 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.5062, allocations: 118.9 kB / 0.5674 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.5064, allocations: 28 kB / 0.5674 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/0.5072, allocations: 81.14 kB / 0.5675 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/0.5076, allocations: 134.3 kB / 0.5676 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.5077, allocations: 51.98 kB / 0.5676 GB, free: 12.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005196/0.5083, allocations: 362.8 kB / 0.568 GB, free: 11.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5083, allocations: 0 / 0.568 GB, free: 11.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001363/0.5096, allocations: 0.5115 MB / 0.5685 GB, free: 11.48 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.01013/0.5198, allocations: 4.091 MB / 0.5725 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006725/0.5265, allocations: 2.734 MB / 0.5752 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5265, allocations: 4 kB / 0.5752 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00474/0.5312, allocations: 1.753 MB / 0.5769 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/0.532, allocations: 119.4 kB / 0.577 GB, free: 2.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02993/0.562, allocations: 13.24 MB / 0.5899 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.5625, allocations: 465.9 kB / 0.5904 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005068/0.563, allocations: 132.6 kB / 0.5905 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.5636, allocations: 363.3 kB / 0.5908 GB, free: 4.406 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5636, allocations: 0 / 0.5908 GB, free: 4.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08858/0.6521, allocations: 42.1 MB / 0.632 GB, free: 10.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.33, allocations: 2.406 kB / 0.632 GB, free: 10.61 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.9263411401771] Failed to read output from testmodel.py, exit status != 0: 14.462996853981167 14.478213693 14.333609776 Calling exit ...