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.001774/0.001774, allocations: 109 kB / 20.53 MB, free: 1.43 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.002031/0.002031, allocations: 211.4 kB / 23.83 MB, free: 4.641 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.519/1.519, allocations: 230.6 MB / 257.6 MB, free: 8 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.06084/0.06084, allocations: 6.14 MB / 320.2 MB, free: 12.95 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.00153/0.00153, allocations: 51.92 kB / 445.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1104, allocations: 55.02 MB / 0.4886 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.007978/0.1184, allocations: 6.304 MB / 0.4948 GB, free: 7.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.1217, allocations: 1.49 MB / 0.4962 GB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.1226, allocations: 20 kB / 0.4962 GB, free: 6.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.1236, allocations: 306 kB / 0.4965 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.1257, allocations: 0.5239 MB / 0.497 GB, free: 5.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.1288, allocations: 1.426 MB / 0.4984 GB, free: 4.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.1312, allocations: 1.136 MB / 0.4995 GB, free: 3.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.1318, allocations: 273.3 kB / 0.4998 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007307/0.1325, allocations: 498.1 kB / 0.5003 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008543/0.1333, allocations: 0.6108 MB / 0.5009 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.1335, allocations: 96 kB / 0.501 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008157/0.1343, allocations: 347.7 kB / 0.5013 GB, free: 1.184 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.1345, allocations: 239 kB / 0.5015 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005773/0.1351, allocations: 0.548 MB / 0.5021 GB, free: 408 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.1369, allocations: 1.311 MB / 0.5033 GB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1369, allocations: 3.984 kB / 0.5033 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1369, allocations: 0 / 0.5033 GB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1369, allocations: 4 kB / 0.5033 GB, free: 15.07 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.01338/0.1503, allocations: 2.895 MB / 0.5062 GB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.1503, allocations: 12.03 kB / 0.5062 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.542e-05/0.1504, allocations: 26.19 kB / 0.5062 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.1506, allocations: 131.2 kB / 0.5063 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.1509, allocations: 124.2 kB / 0.5065 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.1519, allocations: 0.5525 MB / 0.507 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.152, allocations: 130.3 kB / 0.5071 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.1522, allocations: 100.1 kB / 0.5072 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.1545, allocations: 1.307 MB / 0.5085 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1545, allocations: 4 kB / 0.5085 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.1547, allocations: 36 kB / 0.5085 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.1547, allocations: 23.94 kB / 0.5085 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.1568, allocations: 1.261 MB / 0.5098 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007074/0.1639, allocations: 3.859 MB / 0.5135 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.1665, allocations: 1.626 MB / 0.5151 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.1679, allocations: 0.8273 MB / 0.5159 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.1681, allocations: 33.27 kB / 0.516 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.1681, allocations: 55.81 kB / 0.516 GB, free: 1.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 2.945e-06/0.1681, allocations: 0 / 0.516 GB, free: 1.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.2264/0.3945, allocations: 7.529 MB / 0.5234 GB, free: 29.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.3946, allocations: 145.4 kB / 0.5235 GB, free: 28.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008359/0.3955, allocations: 0.5406 MB / 0.524 GB, free: 28.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.3957, allocations: 58.16 kB / 0.5241 GB, free: 28.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.3959, allocations: 295.3 kB / 0.5244 GB, free: 28.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.3963, allocations: 0.5126 MB / 0.5249 GB, free: 28.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004838/0.3967, allocations: 276.8 kB / 0.5251 GB, free: 28.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.3968, allocations: 339.7 kB / 0.5255 GB, free: 28.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.3983, allocations: 0.852 MB / 0.5263 GB, free: 28.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.3998, allocations: 0.9725 MB / 0.5273 GB, free: 28.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.4024, allocations: 1.905 MB / 0.5291 GB, free: 27.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4024, allocations: 0 / 0.5291 GB, free: 27.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009374/0.4118, allocations: 3.585 MB / 0.5326 GB, free: 25.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.4118, allocations: 8.25 kB / 0.5326 GB, free: 25.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4119, allocations: 1.297 kB / 0.5326 GB, free: 25.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009512/0.4214, allocations: 2.298 MB / 0.5349 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/0.4223, allocations: 216 kB / 0.5351 GB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.4415, allocations: 10.72 MB / 0.5455 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.4428, allocations: 151.5 kB / 0.5457 GB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.4429, allocations: 47.55 kB / 0.5457 GB, free: 18 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.0004155/0.4433, allocations: 252.9 kB / 0.546 GB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.4435, allocations: 109.4 kB / 0.5461 GB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008575/0.4521, allocations: 3.551 MB / 0.5495 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.4521, allocations: 18.16 kB / 0.5496 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4521, allocations: 0 / 0.5496 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.4521, allocations: 7.969 kB / 0.5496 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009768/0.4619, allocations: 5.057 MB / 0.5545 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4619, allocations: 4 kB / 0.5545 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.4624, allocations: 171.6 kB / 0.5547 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008794/0.4712, allocations: 2.216 MB / 0.5568 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/0.4714, allocations: 35.92 kB / 0.5569 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.489, allocations: 10.6 MB / 0.5672 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.489, allocations: 0 / 0.5672 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/0.4991, allocations: 3.496 MB / 0.5706 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.4994, allocations: 122.9 kB / 0.5708 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.4997, allocations: 31.98 kB / 0.5708 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/0.5006, allocations: 69.16 kB / 0.5709 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000519/0.5011, allocations: 138.3 kB / 0.571 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5012, allocations: 44 kB / 0.571 GB, free: 10.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005566/0.5018, allocations: 370.8 kB / 0.5714 GB, free: 10.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5018, allocations: 0 / 0.5714 GB, free: 10.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001581/0.5034, allocations: 0.5115 MB / 0.5719 GB, free: 9.547 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.01047/0.5138, allocations: 4.081 MB / 0.5759 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007276/0.5211, allocations: 2.741 MB / 0.5785 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.5211, allocations: 0 / 0.5785 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004795/0.5259, allocations: 1.746 MB / 0.5802 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.5268, allocations: 129.3 kB / 0.5804 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/0.5589, allocations: 13.24 MB / 0.5933 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008199/0.5597, allocations: 1.05 MB / 0.5943 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000516/0.5602, allocations: 134.3 kB / 0.5945 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.5608, allocations: 371.3 kB / 0.5948 GB, free: 1.875 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5608, allocations: 1.094 kB / 0.5948 GB, free: 1.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09492/0.6557, allocations: 45.65 MB / 0.6394 GB, free: 4.445 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.11, allocations: 14.44 kB / 0.6394 GB, free: 4.438 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: 18.8959630880272] Failed to read output from testmodel.py, exit status != 0: 16.30646220908966 16.32374575 16.183474207 Calling exit ...