Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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.00136/0.00136, allocations: 110.1 kB / 17.12 MB, free: 5.914 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.001379/0.001379, allocations: 191.7 kB / 20.07 MB, free: 2.988 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.384/1.384, allocations: 222.9 MB / 245.8 MB, free: 4.18 MB / 190.1 MB " [Timeout remaining time 179] 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.1975/0.1975, allocations: 8.078 MB / 306 MB, free: 2.629 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.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 422.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2452, allocations: 51.52 MB / 474.2 MB, free: 21.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.006734/0.2519, allocations: 8.831 MB / 483.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.2559, allocations: 2.342 MB / 485.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009718/0.2569, allocations: 26.16 kB / 485.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.2578, allocations: 410.2 kB / 485.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.2596, allocations: 0.8332 MB / 486.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.2622, allocations: 1.622 MB / 488.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.2642, allocations: 1.891 MB / 490.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.265, allocations: 0.7004 MB / 490.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008357/0.2659, allocations: 0.77 MB / 491.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000916/0.2668, allocations: 0.9888 MB / 492.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.2671, allocations: 187.8 kB / 492.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.2679, allocations: 435.7 kB / 493.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.2681, allocations: 409.2 kB / 493.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006543/0.2688, allocations: 0.9046 MB / 494.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.2711, allocations: 2.304 MB / 496.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2711, allocations: 0 / 496.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2711, allocations: 0 / 496.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.2711, allocations: 0 / 496.9 MB, free: 5.211 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01516/0.2863, allocations: 4.21 MB / 0.4893 GB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2864, allocations: 11.89 kB / 0.4893 GB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.2866, allocations: 185.7 kB / 0.4895 GB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.2869, allocations: 191.9 kB / 0.4897 GB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.288, allocations: 0.937 MB / 0.4906 GB, free: 76 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.2882, allocations: 162.9 kB / 0.4908 GB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.2884, allocations: 144.3 kB / 0.4909 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.2917, allocations: 2.021 MB / 0.4929 GB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.2918, allocations: 0 / 0.4929 GB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.2919, allocations: 52 kB / 0.4929 GB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.292, allocations: 32 kB / 0.493 GB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.2951, allocations: 1.95 MB / 0.4949 GB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.3071, allocations: 8.186 MB / 0.5029 GB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004915/0.312, allocations: 4.603 MB / 0.5074 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.3141, allocations: 1.4 MB / 0.5087 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.3143, allocations: 53.86 kB / 0.5088 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002438/0.3168, allocations: 1.44 MB / 0.5102 GB, free: 10.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 3.908e-06/0.3168, allocations: 4 kB / 0.5102 GB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=201): time 0.05889/0.3757, allocations: 13.23 MB / 0.5231 GB, free: 13.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.3759, allocations: 184.2 kB / 0.5233 GB, free: 13.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.3772, allocations: 0.8137 MB / 0.5241 GB, free: 12.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003877/0.3776, allocations: 77.7 kB / 0.5241 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.378, allocations: 443.5 kB / 0.5246 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000692/0.3787, allocations: 0.6931 MB / 0.5252 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007104/0.3794, allocations: 383.9 kB / 0.5256 GB, free: 10.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3796, allocations: 353.9 kB / 0.5259 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.3817, allocations: 1.262 MB / 0.5272 GB, free: 9.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.3839, allocations: 1.438 MB / 0.5286 GB, free: 7.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/0.3884, allocations: 2.799 MB / 0.5313 GB, free: 5.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.3884, allocations: 4 kB / 0.5313 GB, free: 5.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01354/0.402, allocations: 5.264 MB / 0.5365 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.402, allocations: 8 kB / 0.5365 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4021, allocations: 0 / 0.5365 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/0.4159, allocations: 3.809 MB / 0.5402 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4174, allocations: 319.5 kB / 0.5405 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/0.4478, allocations: 15.87 MB / 0.556 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.4499, allocations: 202.1 kB / 0.5562 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.4501, allocations: 75.98 kB / 0.5563 GB, free: 11.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,n.y,cmd.pulseStart,$PRE.cmd.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * 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 {(28,58)} Notification: Performance of prepare postOptimizeDAE: time 0.0008887/0.451, allocations: 373.5 kB / 0.5566 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.4514, allocations: 147.1 kB / 0.5568 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/0.4657, allocations: 5.202 MB / 0.5618 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.4658, allocations: 20 kB / 0.5619 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4658, allocations: 0 / 0.5619 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.869e-05/0.4659, allocations: 15.95 kB / 0.5619 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/0.4829, allocations: 7.727 MB / 0.5694 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.483, allocations: 0 / 0.5694 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/0.4838, allocations: 239.6 kB / 0.5696 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01339/0.4972, allocations: 3.262 MB / 0.5728 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/0.4975, allocations: 43.98 kB / 0.5729 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2185/0.716, allocations: 15.66 MB / 0.5882 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.716, allocations: 0 / 0.5882 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.729, allocations: 5.037 MB / 0.5931 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/0.7296, allocations: 254.8 kB / 0.5933 GB, free: 99.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.7299, allocations: 40.75 kB / 0.5934 GB, free: 99.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.7313, allocations: 113.8 kB / 0.5935 GB, free: 99.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007333/0.7321, allocations: 171.4 kB / 0.5936 GB, free: 99.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/0.7323, allocations: 69.25 kB / 0.5937 GB, free: 99.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008274/0.7331, allocations: 0.5401 MB / 0.5942 GB, free: 99.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7331, allocations: 3.938 kB / 0.5942 GB, free: 99.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002144/0.7353, allocations: 0.7333 MB / 0.595 GB, free: 99.5 MB / 446.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: 3 ($whenCondition1,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(28,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01211/0.7474, allocations: 5.65 MB / 0.6005 GB, free: 96.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008585/0.756, allocations: 4.158 MB / 0.6045 GB, free: 95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.756, allocations: 3.062 kB / 0.6045 GB, free: 95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006024/0.7621, allocations: 2.634 MB / 0.6071 GB, free: 93.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.7633, allocations: 188.1 kB / 0.6073 GB, free: 93.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03238/0.7957, allocations: 19.1 MB / 0.6259 GB, free: 78.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.7963, allocations: 1.228 MB / 0.6271 GB, free: 77.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006591/0.7969, allocations: 198 kB / 0.6273 GB, free: 77.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/0.7975, allocations: 0.55 MB / 0.6279 GB, free: 76.74 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7975, allocations: 0 / 0.6279 GB, free: 76.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/0.908, allocations: 65.81 MB / 0.6921 GB, free: 11.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.86, allocations: 11.81 kB / 0.6921 GB, free: 11.15 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.472494343994185] Failed to read output from testmodel.py, exit status != 0: 14.971032758941874 14.980671216 14.707241004 Calling exit ...