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.001354/0.001354, allocations: 110.5 kB / 17.17 MB, free: 5.91 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.001503/0.001503, allocations: 204 kB / 20.13 MB, free: 2.957 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.23 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.06002/0.06002, allocations: 6.132 MB / 315.7 MB, free: 1.094 MB / 238.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.001572/0.001572, allocations: 51.91 kB / 439.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.258, allocations: 54.97 MB / 494.2 MB, free: 26.35 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.005917/0.2639, allocations: 6.267 MB / 0.4888 GB, free: 21.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.2673, allocations: 1.504 MB / 0.4902 GB, free: 20.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.2678, allocations: 16.28 kB / 0.4903 GB, free: 20.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.2685, allocations: 306.2 kB / 0.4906 GB, free: 19.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.2696, allocations: 0.5151 MB / 0.4911 GB, free: 19.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.2719, allocations: 1.426 MB / 0.4924 GB, free: 18.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.2735, allocations: 1.129 MB / 0.4935 GB, free: 17.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.274, allocations: 274.1 kB / 0.4938 GB, free: 17.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008837/0.2749, allocations: 492.8 kB / 0.4943 GB, free: 17.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006246/0.2755, allocations: 0.6199 MB / 0.4949 GB, free: 16.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.2756, allocations: 95.41 kB / 0.495 GB, free: 16.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007808/0.2764, allocations: 345.1 kB / 0.4953 GB, free: 16.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.2766, allocations: 239.9 kB / 0.4955 GB, free: 16.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.277, allocations: 0.5444 MB / 0.4961 GB, free: 16.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.2784, allocations: 1.316 MB / 0.4974 GB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2784, allocations: 4 kB / 0.4974 GB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2784, allocations: 1.062 kB / 0.4974 GB, free: 15.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.2784, allocations: 0 / 0.4974 GB, free: 15.25 MB / 366.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.01223/0.2906, allocations: 2.97 MB / 0.5003 GB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.2907, allocations: 10.19 kB / 0.5003 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.2909, allocations: 130.2 kB / 0.5004 GB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.2912, allocations: 131.1 kB / 0.5005 GB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.292, allocations: 0.6154 MB / 0.5011 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.2921, allocations: 129.1 kB / 0.5012 GB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.2923, allocations: 99.12 kB / 0.5013 GB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.2942, allocations: 1.294 MB / 0.5026 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2943, allocations: 0 / 0.5026 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.2944, allocations: 36 kB / 0.5026 GB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.2944, allocations: 20 kB / 0.5027 GB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.2959, allocations: 1.214 MB / 0.5038 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005015/0.3009, allocations: 3.888 MB / 0.5076 GB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.3029, allocations: 2.039 MB / 0.5096 GB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009698/0.3038, allocations: 0.8234 MB / 0.5104 GB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.304, allocations: 37.27 kB / 0.5105 GB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.304, allocations: 51.88 kB / 0.5105 GB, free: 3.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 2.966e-06/0.304, allocations: 0 / 0.5105 GB, free: 3.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.03173/0.3357, allocations: 7.572 MB / 0.5179 GB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.3358, allocations: 145.8 kB / 0.518 GB, free: 11.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.3367, allocations: 0.538 MB / 0.5186 GB, free: 10.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.337, allocations: 65.64 kB / 0.5186 GB, free: 10.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.3373, allocations: 294.8 kB / 0.5189 GB, free: 10.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006112/0.3379, allocations: 0.5111 MB / 0.5194 GB, free: 9.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005546/0.3384, allocations: 275.6 kB / 0.5197 GB, free: 9.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.3387, allocations: 338 kB / 0.52 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.3403, allocations: 0.8396 MB / 0.5208 GB, free: 8.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.3419, allocations: 0.9581 MB / 0.5218 GB, free: 7.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.3452, allocations: 1.881 MB / 0.5236 GB, free: 5.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3452, allocations: 0 / 0.5236 GB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01058/0.3558, allocations: 3.558 MB / 0.5271 GB, free: 1.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3558, allocations: 4 kB / 0.5271 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3558, allocations: 0 / 0.5271 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/0.3666, allocations: 2.299 MB / 0.5293 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3676, allocations: 215.7 kB / 0.5295 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/0.3915, allocations: 10.81 MB / 0.5401 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.3929, allocations: 147.1 kB / 0.5402 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.393, allocations: 55.98 kB / 0.5403 GB, free: 4.332 MB / 398.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.0004887/0.3935, allocations: 246.2 kB / 0.5405 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.3938, allocations: 99.39 kB / 0.5406 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.4043, allocations: 3.542 MB / 0.5441 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.4043, allocations: 16 kB / 0.5441 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4043, allocations: 4 kB / 0.5441 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.4043, allocations: 7.969 kB / 0.5441 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.4168, allocations: 5.049 MB / 0.549 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.4168, allocations: 0 / 0.549 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/0.4175, allocations: 171.7 kB / 0.5492 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/0.4276, allocations: 2.217 MB / 0.5513 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.4279, allocations: 28 kB / 0.5514 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/0.4498, allocations: 10.68 MB / 0.5618 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.4498, allocations: 3.938 kB / 0.5618 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009907/0.4598, allocations: 3.465 MB / 0.5652 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.4601, allocations: 200.1 kB / 0.5654 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.4603, allocations: 27.94 kB / 0.5654 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009344/0.4613, allocations: 71.95 kB / 0.5655 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004818/0.4617, allocations: 134.3 kB / 0.5656 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.4619, allocations: 44 kB / 0.5657 GB, free: 10.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005389/0.4624, allocations: 362.8 kB / 0.566 GB, free: 9.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4624, allocations: 4 kB / 0.566 GB, free: 9.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001551/0.4639, allocations: 0.5154 MB / 0.5665 GB, free: 9.188 MB / 430.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.01034/0.4743, allocations: 4.066 MB / 0.5705 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006904/0.4812, allocations: 2.717 MB / 0.5731 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/0.4812, allocations: 4 kB / 0.5731 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004997/0.4862, allocations: 1.738 MB / 0.5748 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4872, allocations: 125.1 kB / 0.5749 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/0.5185, allocations: 13.17 MB / 0.5878 GB, free: 3.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008594/0.5194, allocations: 1.05 MB / 0.5888 GB, free: 2.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005467/0.5199, allocations: 131.2 kB / 0.589 GB, free: 1.977 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.5205, allocations: 367.3 kB / 0.5893 GB, free: 1.617 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5205, allocations: 7.938 kB / 0.5893 GB, free: 1.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3206/0.8411, allocations: 44.21 MB / 0.6325 GB, free: 98.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.57, allocations: 7.875 kB / 0.6325 GB, free: 98.72 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 & /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: 17.09257362317294] Failed to read output from testmodel.py, exit status != 0: 14.679698173189536 14.688272484 14.407860682 Calling exit ...