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.001304/0.001304, allocations: 116.8 kB / 17.88 MB, free: 5.051 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.001521/0.001521, allocations: 212.4 kB / 20.84 MB, free: 2.105 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.516/1.516, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.04317/0.04317, allocations: 6.139 MB / 316.4 MB, free: 1.102 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="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.001613/0.001613, allocations: 47.11 kB / 440 MB, free: 40.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.0932, allocations: 54.98 MB / 494.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.00499/0.09819, allocations: 6.287 MB / 0.4895 GB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.1006, allocations: 1.494 MB / 0.4909 GB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/0.1009, allocations: 20 kB / 0.491 GB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.1014, allocations: 302 kB / 0.4912 GB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008561/0.1023, allocations: 0.5161 MB / 0.4917 GB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.1045, allocations: 1.416 MB / 0.4931 GB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.106, allocations: 1.128 MB / 0.4942 GB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005108/0.1065, allocations: 272.9 kB / 0.4945 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000715/0.1072, allocations: 498.1 kB / 0.495 GB, free: 14.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008896/0.1081, allocations: 0.6146 MB / 0.4956 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.1083, allocations: 96 kB / 0.4957 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008057/0.1091, allocations: 343.7 kB / 0.496 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.1093, allocations: 250.9 kB / 0.4962 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005831/0.1099, allocations: 0.5441 MB / 0.4968 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.1115, allocations: 1.315 MB / 0.498 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1115, allocations: 0 / 0.498 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1115, allocations: 0 / 0.498 GB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1116, allocations: 0 / 0.498 GB, free: 11.34 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.01276/0.1243, allocations: 2.978 MB / 0.5009 GB, free: 8.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1243, allocations: 8.031 kB / 0.501 GB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.393e-05/0.1244, allocations: 22.19 kB / 0.501 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.1246, allocations: 131.2 kB / 0.5011 GB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.1248, allocations: 128.2 kB / 0.5012 GB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/0.1258, allocations: 0.6129 MB / 0.5018 GB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.126, allocations: 134.3 kB / 0.502 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.1261, allocations: 100.1 kB / 0.502 GB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.1283, allocations: 1.287 MB / 0.5033 GB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1283, allocations: 0 / 0.5033 GB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.1284, allocations: 36 kB / 0.5033 GB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.1285, allocations: 20 kB / 0.5034 GB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.1305, allocations: 1.218 MB / 0.5045 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006726/0.1372, allocations: 3.873 MB / 0.5083 GB, free: 496 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.14, allocations: 2.046 MB / 0.5103 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.1414, allocations: 0.8234 MB / 0.5111 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.1415, allocations: 37.12 kB / 0.5112 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.1416, allocations: 59.81 kB / 0.5112 GB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.527e-06/0.1416, allocations: 0 / 0.5112 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.03255/0.1741, allocations: 7.568 MB / 0.5186 GB, free: 5.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1742, allocations: 141.8 kB / 0.5188 GB, free: 5.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/0.1751, allocations: 0.5419 MB / 0.5193 GB, free: 5.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.1754, allocations: 65.64 kB / 0.5193 GB, free: 5.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.1757, allocations: 298.8 kB / 0.5196 GB, free: 4.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005828/0.1763, allocations: 0.5072 MB / 0.5201 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005439/0.1768, allocations: 275.6 kB / 0.5204 GB, free: 3.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.177, allocations: 341.9 kB / 0.5207 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.1786, allocations: 0.8318 MB / 0.5215 GB, free: 2.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.1802, allocations: 0.962 MB / 0.5225 GB, free: 1.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.1833, allocations: 1.873 MB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.1833, allocations: 0 / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.0101/0.1934, allocations: 3.566 MB / 0.5278 GB, free: 12.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.1934, allocations: 4 kB / 0.5278 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.1934, allocations: 7.984 kB / 0.5278 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.2037, allocations: 2.287 MB / 0.53 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/0.2047, allocations: 211.7 kB / 0.5302 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02286/0.2275, allocations: 10.82 MB / 0.5408 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.2289, allocations: 139.1 kB / 0.5409 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.2291, allocations: 51.98 kB / 0.541 GB, free: 14.66 MB / 414.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.0005781/0.2296, allocations: 258.1 kB / 0.5412 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.2299, allocations: 95.39 kB / 0.5413 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.2402, allocations: 3.534 MB / 0.5448 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/0.2402, allocations: 16 kB / 0.5448 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2402, allocations: 4 kB / 0.5448 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-05/0.2402, allocations: 15.89 kB / 0.5448 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.2535, allocations: 5.053 MB / 0.5497 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.2535, allocations: 0 / 0.5497 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.2542, allocations: 163.8 kB / 0.5499 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/0.2644, allocations: 2.221 MB / 0.5521 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/0.2647, allocations: 31.98 kB / 0.5521 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02274/0.2874, allocations: 10.68 MB / 0.5625 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2874, allocations: 0 / 0.5625 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.2981, allocations: 3.469 MB / 0.5659 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.2984, allocations: 204 kB / 0.5661 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.2986, allocations: 24 kB / 0.5661 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/0.2995, allocations: 83.69 kB / 0.5662 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005008/0.3, allocations: 130.3 kB / 0.5663 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.3001, allocations: 44 kB / 0.5664 GB, free: 4.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005296/0.3007, allocations: 362.8 kB / 0.5667 GB, free: 4.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3007, allocations: 0 / 0.5667 GB, free: 4.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001412/0.3021, allocations: 0.5194 MB / 0.5672 GB, free: 3.508 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.0102/0.3123, allocations: 4.062 MB / 0.5712 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006983/0.3193, allocations: 2.717 MB / 0.5738 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.3193, allocations: 4 kB / 0.5738 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005103/0.3244, allocations: 1.738 MB / 0.5755 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.3253, allocations: 120.7 kB / 0.5757 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2545/0.5798, allocations: 13.16 MB / 0.5885 GB, free: 92.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.5804, allocations: 1.055 MB / 0.5895 GB, free: 91.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004948/0.5808, allocations: 130.8 kB / 0.5897 GB, free: 91.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/0.5813, allocations: 364.6 kB / 0.59 GB, free: 91.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5813, allocations: 0 / 0.59 GB, free: 91.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06572/0.647, allocations: 44.26 MB / 0.6332 GB, free: 59.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.03, allocations: 12.72 kB / 0.6332 GB, free: 59.96 MB / 446.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.808667159988545] Failed to read output from testmodel.py, exit status != 0: 15.206034385948442 15.222596184 15.107932195 Calling exit ...