Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.0008928/0.0008928, allocations: 91.66 kB / 20.95 MB, free: 3.602 MB / 18.57 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.00121/0.00121, allocations: 166 kB / 24.26 MB, free: 296 kB / 18.57 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 0.9787/0.9787, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.232/0.232, allocations: 29.42 MB / 290.5 MB, free: 2.43 MB / 266.7 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_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.574e-05, allocations: 2.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005545/0.005561, allocations: 6.966 MB / 375.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00419/0.009752, allocations: 4.073 MB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.01013, allocations: 19.88 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.01152, allocations: 1.023 MB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.01361, allocations: 1.24 MB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.01421, allocations: 326.8 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.01552, allocations: 1.429 MB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006833/0.0162, allocations: 0.509 MB / 384 MB, free: 12.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009849/0.01719, allocations: 0.8176 MB / 384.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007868/0.01798, allocations: 0.6817 MB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.968e-05/0.01805, allocations: 64 kB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.01961, allocations: 1.145 MB / 386.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.01998, allocations: 0.5105 MB / 387.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.02024, allocations: 311.3 kB / 387.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.02167, allocations: 1.531 MB / 389 MB, free: 7.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.02168, allocations: 0 / 389 MB, free: 7.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02168, allocations: 0 / 389 MB, free: 7.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.02169, allocations: 4 kB / 389 MB, free: 7.098 MB / 362.7 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.001152/0.02284, allocations: 1.062 MB / 390.1 MB, free: 6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.02289, allocations: 15.98 kB / 390.1 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.02299, allocations: 131.2 kB / 390.2 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.02478, allocations: 0.5659 MB / 390.8 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.02526, allocations: 440.9 kB / 391.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.0253, allocations: 50.38 kB / 391.3 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.02539, allocations: 72.36 kB / 391.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.02655, allocations: 1.176 MB / 392.5 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.02657, allocations: 4.141 kB / 392.5 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.02662, allocations: 36.11 kB / 392.6 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/0.02669, allocations: 73.95 kB / 392.6 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.02788, allocations: 1.23 MB / 393.9 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.03099, allocations: 3.229 MB / 397.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.032, allocations: 0.9758 MB / 398.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/0.03254, allocations: 0.5941 MB / 398.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.03258, allocations: 20.98 kB / 398.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.03261, allocations: 47.78 kB / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.464e-06/0.03261, allocations: 0 / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.003783/0.03639, allocations: 3.037 MB / 401.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.03644, allocations: 90.11 kB / 401.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.0367, allocations: 373.5 kB / 402.2 MB, free: 9.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.03674, allocations: 41.7 kB / 402.3 MB, free: 9.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.03688, allocations: 320.9 kB / 402.6 MB, free: 9.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.03705, allocations: 325.1 kB / 402.9 MB, free: 8.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.03722, allocations: 162.6 kB / 403 MB, free: 8.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.03732, allocations: 366.8 kB / 403.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.03777, allocations: 469.7 kB / 403.9 MB, free: 7.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.03827, allocations: 0.5735 MB / 404.4 MB, free: 7.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.03927, allocations: 1.105 MB / 405.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.03927, allocations: 0 / 405.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001513/0.04079, allocations: 1.501 MB / 407 MB, free: 4.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.0408, allocations: 4 kB / 407 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.04081, allocations: 4 kB / 407 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.04134, allocations: 340.7 kB / 407.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.0417, allocations: 179.7 kB / 407.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.04494, allocations: 3.945 MB / 411.5 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.04517, allocations: 47.89 kB / 411.5 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.04522, allocations: 35.98 kB / 411.6 MB, free: 68 kB / 378.7 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.0002542/0.04547, allocations: 297.5 kB / 411.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.04556, allocations: 87.73 kB / 412 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.04715, allocations: 1.551 MB / 413.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.04716, allocations: 12 kB / 413.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.04717, allocations: 4 kB / 413.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.04717, allocations: 3.984 kB / 413.5 MB, free: 14.1 MB / 394.7 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.003483/0.05066, allocations: 2.786 MB / 416.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.05066, allocations: 12 kB / 416.3 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.05118, allocations: 175.7 kB / 416.5 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006435/0.05182, allocations: 276.6 kB / 416.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.05189, allocations: 27.98 kB / 416.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003113/0.055, allocations: 3.715 MB / 420.5 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.055, allocations: 4 kB / 420.5 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.05655, allocations: 1.622 MB / 422.1 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.05663, allocations: 71.53 kB / 422.2 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.05668, allocations: 28 kB / 422.2 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.0569, allocations: 35.97 kB / 422.3 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.057, allocations: 92.62 kB / 422.4 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.05704, allocations: 39.98 kB / 422.4 MB, free: 4.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.05724, allocations: 255.2 kB / 422.6 MB, free: 4.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05724, allocations: 0 / 422.6 MB, free: 4.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005414/0.05778, allocations: 308 kB / 422.9 MB, free: 4.402 MB / 394.7 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.001831/0.05961, allocations: 2.18 MB / 425.1 MB, free: 2.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.06114, allocations: 1.338 MB / 426.5 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.06114, allocations: 4.062 kB / 426.5 MB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.06185, allocations: 0.7848 MB / 427.3 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.06228, allocations: 112.9 kB / 427.4 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/0.06932, allocations: 7.606 MB / 435 MB, free: 8.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.0697, allocations: 476.9 kB / 435.4 MB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.06996, allocations: 176.6 kB / 435.6 MB, free: 7.375 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.07024, allocations: 260.4 kB / 435.9 MB, free: 7.121 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.07024, allocations: 0 / 435.9 MB, free: 7.121 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1717/0.242, allocations: 18.09 MB / 454 MB, free: 108.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.148, allocations: 2.656 kB / 454 MB, free: 108.9 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_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_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.130536798387766] Failed to read output from testmodel.py, exit status != 0: 8.237645516172051 8.248014585 8.224062536 Calling exit ...