Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 114.2 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 196.5 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05308/0.05308, allocations: 8.228 MB / 311.6 MB, free: 2.055 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 434 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2631, allocations: 54.36 MB / 488.3 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005703/0.2688, allocations: 6.497 MB / 494.8 MB, free: 22.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.2714, allocations: 1.501 MB / 496.3 MB, free: 21.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.2719, allocations: 17.88 kB / 496.3 MB, free: 21.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.2725, allocations: 301.4 kB / 496.6 MB, free: 20.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009778/0.2734, allocations: 0.5549 MB / 497.2 MB, free: 20.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.2756, allocations: 1.443 MB / 498.6 MB, free: 19.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.2768, allocations: 1.17 MB / 499.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.2771, allocations: 283.1 kB / 0.4884 GB, free: 18.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.2776, allocations: 490.2 kB / 0.4888 GB, free: 18.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005885/0.2782, allocations: 0.6434 MB / 0.4895 GB, free: 17.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.2783, allocations: 96.03 kB / 0.4896 GB, free: 17.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.279, allocations: 340.7 kB / 0.4899 GB, free: 17.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.2791, allocations: 244 kB / 0.4901 GB, free: 17.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.2795, allocations: 0.5563 MB / 0.4907 GB, free: 16.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.2807, allocations: 1.327 MB / 0.4919 GB, free: 16.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2807, allocations: 1.125 kB / 0.492 GB, free: 16.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2807, allocations: 3.938 kB / 0.492 GB, free: 16.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2807, allocations: 0 / 0.492 GB, free: 16.06 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.0103/0.291, allocations: 2.982 MB / 0.4949 GB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.291, allocations: 13.8 kB / 0.4949 GB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.2912, allocations: 134.9 kB / 0.495 GB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.2914, allocations: 131.2 kB / 0.4951 GB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.2922, allocations: 0.6174 MB / 0.4957 GB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/0.2923, allocations: 129.6 kB / 0.4959 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.2924, allocations: 94.66 kB / 0.496 GB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.294, allocations: 1.292 MB / 0.4972 GB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2941, allocations: 0 / 0.4972 GB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.2941, allocations: 37.59 kB / 0.4972 GB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.2942, allocations: 18.62 kB / 0.4973 GB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.2957, allocations: 1.218 MB / 0.4985 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004961/0.3007, allocations: 5.02 MB / 0.5034 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.3027, allocations: 2.055 MB / 0.5054 GB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.3037, allocations: 0.8141 MB / 0.5062 GB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.3038, allocations: 42.09 kB / 0.5062 GB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3038, allocations: 51.72 kB / 0.5062 GB, free: 5.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 2.434e-06/0.3038, allocations: 0 / 0.5062 GB, free: 5.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.02826/0.3321, allocations: 7.867 MB / 0.5139 GB, free: 13.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3322, allocations: 141.8 kB / 0.5141 GB, free: 13.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/0.333, allocations: 0.5663 MB / 0.5146 GB, free: 13.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.3332, allocations: 57.7 kB / 0.5147 GB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.3335, allocations: 310.8 kB / 0.515 GB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004792/0.3339, allocations: 0.5111 MB / 0.5155 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/0.3344, allocations: 271.6 kB / 0.5157 GB, free: 11.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3346, allocations: 341.9 kB / 0.5161 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.3359, allocations: 0.8357 MB / 0.5169 GB, free: 10.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.3374, allocations: 0.9581 MB / 0.5178 GB, free: 9.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/0.3403, allocations: 1.873 MB / 0.5196 GB, free: 7.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3403, allocations: 4 kB / 0.5196 GB, free: 7.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009464/0.3498, allocations: 3.574 MB / 0.5231 GB, free: 4.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3498, allocations: 8 kB / 0.5231 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3498, allocations: 0 / 0.5231 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009452/0.3593, allocations: 2.338 MB / 0.5254 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/0.3602, allocations: 211.7 kB / 0.5256 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/0.3817, allocations: 10.85 MB / 0.5362 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.3829, allocations: 139.1 kB / 0.5364 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/0.3831, allocations: 51.98 kB / 0.5364 GB, free: 6.527 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.0005905/0.3837, allocations: 254.5 kB / 0.5366 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.3841, allocations: 111.3 kB / 0.5368 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009835/0.3939, allocations: 3.531 MB / 0.5402 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.3939, allocations: 16 kB / 0.5402 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3939, allocations: 0 / 0.5402 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.3939, allocations: 11.97 kB / 0.5402 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.4058, allocations: 5.037 MB / 0.5451 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4058, allocations: 0 / 0.5451 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.4064, allocations: 175.7 kB / 0.5453 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009391/0.4158, allocations: 2.217 MB / 0.5475 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/0.416, allocations: 28 kB / 0.5475 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/0.4385, allocations: 10.68 MB / 0.5579 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4385, allocations: 3.938 kB / 0.5579 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.449, allocations: 3.457 MB / 0.5613 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.4495, allocations: 196 kB / 0.5615 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.4498, allocations: 28 kB / 0.5615 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.4509, allocations: 79.88 kB / 0.5616 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005112/0.4514, allocations: 126.4 kB / 0.5617 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.4515, allocations: 52 kB / 0.5618 GB, free: 12.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005721/0.4521, allocations: 383.1 kB / 0.5621 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4521, allocations: 0 / 0.5621 GB, free: 11.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001824/0.4539, allocations: 0.5232 MB / 0.5627 GB, free: 11.36 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.01018/0.4641, allocations: 4.057 MB / 0.5666 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006384/0.4705, allocations: 2.717 MB / 0.5693 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4705, allocations: 4 kB / 0.5693 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004472/0.475, allocations: 1.733 MB / 0.571 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.476, allocations: 118.9 kB / 0.5711 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/0.5055, allocations: 13.07 MB / 0.5838 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.5064, allocations: 1.061 MB / 0.5849 GB, free: 4.391 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005258/0.5069, allocations: 131.2 kB / 0.585 GB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.5074, allocations: 371.3 kB / 0.5854 GB, free: 3.895 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5074, allocations: 0 / 0.5854 GB, free: 3.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2851/0.7926, allocations: 44.37 MB / 0.6287 GB, free: 103.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.85, allocations: 10.81 kB / 0.6287 GB, free: 103.3 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.316221731249243] Failed to read output from testmodel.py, exit status != 0: 13.964310203213245 13.979743509 13.695993307 Calling exit ...