Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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: 111.6 kB / 20.43 MB, free: 1.473 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.0015/0.0015, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.192/0.192, allocations: 38.52 MB / 352.5 MB, free: 12.58 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.89 kB / 492.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 62.47 MB / 0.542 GB, free: 312 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009185/0.3162, allocations: 7.615 MB / 0.5494 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006609/0.3228, allocations: 4.483 MB / 0.5538 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.3237, allocations: 16.81 kB / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.3269, allocations: 1.071 MB / 0.5549 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.3306, allocations: 1.21 MB / 0.5561 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.3319, allocations: 318.2 kB / 0.5564 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.3342, allocations: 1.402 MB / 0.5577 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.3353, allocations: 0.5215 MB / 0.5582 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.3367, allocations: 0.637 MB / 0.5589 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3378, allocations: 0.7398 MB / 0.5596 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.338, allocations: 64 kB / 0.5596 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.3405, allocations: 1.376 MB / 0.561 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.3411, allocations: 486.7 kB / 0.5615 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.3416, allocations: 445.9 kB / 0.5619 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.3439, allocations: 1.46 MB / 0.5633 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3439, allocations: 4 kB / 0.5633 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3439, allocations: 0 / 0.5633 GB, free: 14.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.3439, allocations: 0 / 0.5633 GB, free: 14.53 MB / 414.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.001715/0.3456, allocations: 1.07 MB / 0.5644 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3457, allocations: 15.97 kB / 0.5644 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.3458, allocations: 131.1 kB / 0.5645 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.3489, allocations: 399.9 kB / 0.5649 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.3498, allocations: 425.7 kB / 0.5653 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.3499, allocations: 58.36 kB / 0.5653 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.35, allocations: 68.36 kB / 0.5654 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.3519, allocations: 1.18 MB / 0.5666 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.3519, allocations: 3.938 kB / 0.5666 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.352, allocations: 31.98 kB / 0.5666 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.3521, allocations: 73.95 kB / 0.5667 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.3541, allocations: 1.241 MB / 0.5679 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/0.3599, allocations: 3.427 MB / 0.5712 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.3615, allocations: 0.9874 MB / 0.5722 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/0.3624, allocations: 0.5939 MB / 0.5728 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.3625, allocations: 13 kB / 0.5728 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.3625, allocations: 43.56 kB / 0.5728 GB, free: 4.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.524e-06/0.3625, allocations: 4 kB / 0.5728 GB, free: 4.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006736/0.3693, allocations: 3.013 MB / 0.5758 GB, free: 1.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3693, allocations: 90.05 kB / 0.5758 GB, free: 1.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.3697, allocations: 365.6 kB / 0.5762 GB, free: 1.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.3698, allocations: 45.7 kB / 0.5762 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.37, allocations: 317 kB / 0.5765 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.3704, allocations: 329.1 kB / 0.5769 GB, free: 400 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.3707, allocations: 162.6 kB / 0.577 GB, free: 232 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002807/0.3709, allocations: 366.8 kB / 0.5774 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.3717, allocations: 465.7 kB / 0.5778 GB, free: 15.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008269/0.3725, allocations: 0.5734 MB / 0.5784 GB, free: 14.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.3742, allocations: 1.113 MB / 0.5795 GB, free: 13.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3742, allocations: 0 / 0.5795 GB, free: 13.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00261/0.3768, allocations: 1.47 MB / 0.5809 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3769, allocations: 8 kB / 0.5809 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.3769, allocations: 4 kB / 0.5809 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009644/0.3778, allocations: 336.6 kB / 0.5812 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.3786, allocations: 179.7 kB / 0.5814 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/0.3845, allocations: 4.079 MB / 0.5854 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.3851, allocations: 43.95 kB / 0.5854 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.3852, allocations: 39.98 kB / 0.5855 GB, free: 7.359 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004605/0.3856, allocations: 293.5 kB / 0.5857 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3858, allocations: 55.67 kB / 0.5858 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.3886, allocations: 1.559 MB / 0.5873 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3886, allocations: 8 kB / 0.5873 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3886, allocations: 8 kB / 0.5873 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3887, allocations: 3.984 kB / 0.5873 GB, free: 5.414 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005472/0.3941, allocations: 2.991 MB / 0.5903 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.3941, allocations: 4 kB / 0.5903 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.3948, allocations: 167.8 kB / 0.5904 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008662/0.3957, allocations: 293 kB / 0.5907 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.3957, allocations: 23.98 kB / 0.5907 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005336/0.4011, allocations: 3.808 MB / 0.5944 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4011, allocations: 7.938 kB / 0.5944 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.4036, allocations: 1.59 MB / 0.596 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.4038, allocations: 67.55 kB / 0.5961 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.4039, allocations: 23.94 kB / 0.5961 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.4043, allocations: 47.95 kB / 0.5961 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.4046, allocations: 84.72 kB / 0.5962 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.4047, allocations: 43.92 kB / 0.5963 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003813/0.405, allocations: 255.2 kB / 0.5965 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.405, allocations: 4 kB / 0.5965 GB, free: 11.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009485/0.406, allocations: 300 kB / 0.5968 GB, free: 11.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * 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): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003049/0.409, allocations: 2.157 MB / 0.5989 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.4114, allocations: 1.331 MB / 0.6002 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4114, allocations: 0 / 0.6002 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.4127, allocations: 0.797 MB / 0.601 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006964/0.4134, allocations: 105 kB / 0.6011 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.425, allocations: 7.546 MB / 0.6084 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008875/0.4259, allocations: 1.068 MB / 0.6095 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004849/0.4264, allocations: 184.6 kB / 0.6097 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.4268, allocations: 267.3 kB / 0.6099 GB, free: 13.61 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4268, allocations: 0 / 0.6099 GB, free: 13.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/0.4812, allocations: 17.66 MB / 0.6272 GB, free: 12.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.1, allocations: 10.81 kB / 0.6272 GB, free: 12.06 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.901787281996803] Failed to read output from testmodel.py, exit status != 0: 13.222499606999918 13.239748424 12.892153901 Calling exit ...