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.001534/0.001534, allocations: 118.5 kB / 19.74 MB, free: 2.141 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.002079/0.002079, allocations: 223.3 kB / 23.05 MB, free: 4.941 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.05561/0.05561, allocations: 6.133 MB / 319.4 MB, free: 12.97 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.001554/0.001554, allocations: 47.92 kB / 444.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1061, allocations: 55.02 MB / 499.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.008397/0.1145, allocations: 6.296 MB / 0.494 GB, free: 7.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.118, allocations: 1.498 MB / 0.4954 GB, free: 6.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.119, allocations: 20 kB / 0.4955 GB, free: 6.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1201, allocations: 306 kB / 0.4958 GB, free: 6.105 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.122, allocations: 0.5122 MB / 0.4963 GB, free: 5.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.1256, allocations: 1.435 MB / 0.4977 GB, free: 4.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.1283, allocations: 1.128 MB / 0.4988 GB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005632/0.1289, allocations: 281.3 kB / 0.499 GB, free: 2.727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.1296, allocations: 490.1 kB / 0.4995 GB, free: 2.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.1305, allocations: 0.6263 MB / 0.5001 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.1306, allocations: 96 kB / 0.5002 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.1314, allocations: 335.8 kB / 0.5005 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.1316, allocations: 243 kB / 0.5007 GB, free: 0.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.1321, allocations: 0.5402 MB / 0.5013 GB, free: 424 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.1339, allocations: 1.319 MB / 0.5026 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1339, allocations: 0 / 0.5026 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1339, allocations: 0 / 0.5026 GB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.1339, allocations: 0 / 0.5026 GB, free: 15.09 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.01266/0.1465, allocations: 2.895 MB / 0.5054 GB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.1466, allocations: 12.03 kB / 0.5054 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.1468, allocations: 131.2 kB / 0.5055 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.1471, allocations: 124.2 kB / 0.5056 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.1481, allocations: 0.5525 MB / 0.5062 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.1482, allocations: 134.3 kB / 0.5063 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.1484, allocations: 96.38 kB / 0.5064 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.1506, allocations: 1.319 MB / 0.5077 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.1506, allocations: 3.984 kB / 0.5077 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1507, allocations: 32 kB / 0.5077 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.1507, allocations: 24 kB / 0.5078 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.1528, allocations: 1.257 MB / 0.509 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006759/0.1596, allocations: 3.867 MB / 0.5128 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.1622, allocations: 1.622 MB / 0.5143 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.1635, allocations: 0.8351 MB / 0.5152 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.1637, allocations: 37.25 kB / 0.5152 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.1637, allocations: 51.88 kB / 0.5152 GB, free: 1.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.989e-06/0.1637, allocations: 0 / 0.5152 GB, free: 1.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.229/0.3927, allocations: 7.524 MB / 0.5226 GB, free: 28.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.3928, allocations: 144.7 kB / 0.5227 GB, free: 28.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/0.3936, allocations: 0.5384 MB / 0.5233 GB, free: 28.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.3938, allocations: 61.52 kB / 0.5233 GB, free: 28.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.394, allocations: 298.3 kB / 0.5236 GB, free: 28.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.3944, allocations: 0.5101 MB / 0.5241 GB, free: 28.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005389/0.3949, allocations: 276.6 kB / 0.5244 GB, free: 28.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.395, allocations: 341.7 kB / 0.5247 GB, free: 27.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.3963, allocations: 0.8443 MB / 0.5255 GB, free: 27.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.3976, allocations: 0.9752 MB / 0.5265 GB, free: 27.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.4003, allocations: 1.906 MB / 0.5283 GB, free: 27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.4003, allocations: 1.781 kB / 0.5283 GB, free: 27 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009629/0.4099, allocations: 3.586 MB / 0.5318 GB, free: 25.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4099, allocations: 8.25 kB / 0.5318 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.41, allocations: 0.5312 kB / 0.5318 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009495/0.4194, allocations: 2.301 MB / 0.5341 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009293/0.4204, allocations: 212.4 kB / 0.5343 GB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.4392, allocations: 10.72 MB / 0.5448 GB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.4403, allocations: 144.8 kB / 0.5449 GB, free: 17.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4404, allocations: 51.64 kB / 0.5449 GB, free: 17.81 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.0003731/0.4408, allocations: 252.9 kB / 0.5452 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.4409, allocations: 102.7 kB / 0.5453 GB, free: 17.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008568/0.4495, allocations: 3.552 MB / 0.5487 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.4495, allocations: 19 kB / 0.5488 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4495, allocations: 0 / 0.5488 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.4495, allocations: 7.969 kB / 0.5488 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009955/0.4595, allocations: 5.057 MB / 0.5537 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.4595, allocations: 0 / 0.5537 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.4601, allocations: 176.5 kB / 0.5539 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008583/0.4687, allocations: 2.219 MB / 0.556 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.4689, allocations: 39.92 kB / 0.5561 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/0.4863, allocations: 10.59 MB / 0.5664 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4863, allocations: 0 / 0.5664 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.4965, allocations: 3.496 MB / 0.5698 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.4969, allocations: 121.7 kB / 0.57 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.4971, allocations: 31.98 kB / 0.57 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.498, allocations: 69.59 kB / 0.5701 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004744/0.4985, allocations: 146.3 kB / 0.5702 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.4986, allocations: 44 kB / 0.5702 GB, free: 10.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005159/0.4991, allocations: 362.8 kB / 0.5706 GB, free: 9.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4991, allocations: 0 / 0.5706 GB, free: 9.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001478/0.5006, allocations: 0.5115 MB / 0.5711 GB, free: 9.387 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.01011/0.5107, allocations: 4.082 MB / 0.5751 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006867/0.5176, allocations: 2.755 MB / 0.5778 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.5176, allocations: 1.422 kB / 0.5778 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004949/0.5225, allocations: 1.747 MB / 0.5795 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.5234, allocations: 119.9 kB / 0.5796 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/0.5545, allocations: 13.24 MB / 0.5925 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.5553, allocations: 1.054 MB / 0.5935 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.5558, allocations: 135.2 kB / 0.5937 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/0.5563, allocations: 363.3 kB / 0.594 GB, free: 1.715 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5563, allocations: 0 / 0.594 GB, free: 1.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.6755, allocations: 45.64 MB / 0.6386 GB, free: 4.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.78, allocations: 9.812 kB / 0.6386 GB, free: 4.281 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.57201850716956] Failed to read output from testmodel.py, exit status != 0: 15.910780356964096 15.934017257 15.795785102 Calling exit ...