Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001337/0.001337, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00188/0.00188, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.2088/0.2088, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.002206/0.002206, allocations: 63.91 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.315, allocations: 62.48 MB / 0.5419 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008653/0.3237, allocations: 7.264 MB / 0.549 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006934/0.3306, allocations: 4.417 MB / 0.5534 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.3312, allocations: 24.75 kB / 0.5534 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.3342, allocations: 1.072 MB / 0.5544 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.3375, allocations: 1.272 MB / 0.5557 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3387, allocations: 366.1 kB / 0.556 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.3412, allocations: 1.469 MB / 0.5575 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.3422, allocations: 0.5133 MB / 0.558 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.3437, allocations: 0.6536 MB / 0.5586 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.345, allocations: 0.7474 MB / 0.5593 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.3452, allocations: 68 kB / 0.5594 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.3478, allocations: 1.208 MB / 0.5606 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007276/0.3485, allocations: 0.4909 MB / 0.561 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008334/0.3494, allocations: 390.3 kB / 0.5614 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.353, allocations: 1.542 MB / 0.5629 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3531, allocations: 4 kB / 0.5629 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3531, allocations: 0 / 0.5629 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.481e-05/0.3531, allocations: 3.938 kB / 0.5629 GB, free: 14.71 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002133/0.3552, allocations: 1.117 MB / 0.564 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3553, allocations: 11.98 kB / 0.564 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.3555, allocations: 131.4 kB / 0.5642 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/0.3589, allocations: 415.8 kB / 0.5646 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3599, allocations: 449.6 kB / 0.565 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/0.36, allocations: 62.36 kB / 0.565 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.3602, allocations: 72.36 kB / 0.5651 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3623, allocations: 1.23 MB / 0.5663 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.3624, allocations: 7.984 kB / 0.5663 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.3624, allocations: 27.98 kB / 0.5663 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.3625, allocations: 77.95 kB / 0.5664 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.3647, allocations: 1.308 MB / 0.5677 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006549/0.3713, allocations: 3.403 MB / 0.571 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.3733, allocations: 1.009 MB / 0.572 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.3743, allocations: 0.5708 MB / 0.5726 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.407e-05/0.3744, allocations: 16.98 kB / 0.5726 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.3745, allocations: 43.56 kB / 0.5726 GB, free: 4.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 4.388e-06/0.3745, allocations: 7.938 kB / 0.5726 GB, free: 4.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007336/0.3818, allocations: 3.06 MB / 0.5756 GB, free: 1.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3819, allocations: 86.11 kB / 0.5757 GB, free: 1.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.3824, allocations: 397.6 kB / 0.5761 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.3824, allocations: 41.7 kB / 0.5761 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.3826, allocations: 325 kB / 0.5764 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.383, allocations: 337 kB / 0.5767 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.3832, allocations: 162.6 kB / 0.5769 GB, free: 116 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3834, allocations: 370.8 kB / 0.5773 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.3841, allocations: 465.7 kB / 0.5777 GB, free: 15.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.3849, allocations: 0.5743 MB / 0.5783 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.3866, allocations: 1.11 MB / 0.5793 GB, free: 13.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3866, allocations: 0 / 0.5793 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002603/0.3892, allocations: 1.473 MB / 0.5808 GB, free: 12.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3892, allocations: 12.22 kB / 0.5808 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3892, allocations: 4 kB / 0.5808 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3903, allocations: 344.4 kB / 0.5811 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.391, allocations: 179.8 kB / 0.5813 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/0.3971, allocations: 3.915 MB / 0.5851 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/0.3978, allocations: 47.94 kB / 0.5852 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.398, allocations: 43.92 kB / 0.5852 GB, free: 7.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0005757/0.3985, allocations: 289.6 kB / 0.5855 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3987, allocations: 59.62 kB / 0.5855 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.4015, allocations: 1.547 MB / 0.5871 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.4015, allocations: 12 kB / 0.5871 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.4015, allocations: 4 kB / 0.5871 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.4016, allocations: 7.969 kB / 0.5871 GB, free: 5.473 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.005646/0.4072, allocations: 2.766 MB / 0.5898 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.4072, allocations: 7.938 kB / 0.5898 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.4079, allocations: 164.1 kB / 0.5899 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008543/0.4087, allocations: 285.2 kB / 0.5902 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.4088, allocations: 28 kB / 0.5902 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005716/0.4145, allocations: 3.683 MB / 0.5938 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.4145, allocations: 7.938 kB / 0.5938 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.4171, allocations: 1.567 MB / 0.5954 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.4172, allocations: 71.56 kB / 0.5954 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.973e-05/0.4173, allocations: 24 kB / 0.5955 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.4178, allocations: 43.95 kB / 0.5955 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.4179, allocations: 84.73 kB / 0.5956 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.418, allocations: 35.98 kB / 0.5956 GB, free: 12.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003001/0.4183, allocations: 271.1 kB / 0.5959 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4183, allocations: 0 / 0.5959 GB, free: 12.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009474/0.4193, allocations: 308 kB / 0.5962 GB, free: 11.88 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.002781/0.422, allocations: 2.129 MB / 0.5983 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.4243, allocations: 1.327 MB / 0.5996 GB, free: 8.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.4243, allocations: 4.125 kB / 0.5996 GB, free: 8.328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.4256, allocations: 0.7966 MB / 0.6003 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.4263, allocations: 121.1 kB / 0.6005 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.4379, allocations: 7.628 MB / 0.6079 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.4386, allocations: 489.1 kB / 0.6084 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004671/0.439, allocations: 184.7 kB / 0.6085 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.4395, allocations: 275.3 kB / 0.6088 GB, free: 14.58 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4395, allocations: 0 / 0.6088 GB, free: 14.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05877/0.4982, allocations: 18.01 MB / 0.6264 GB, free: 12.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.59, allocations: 15.27 kB / 0.6264 GB, free: 12.7 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened_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_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.52153013786301] Failed to read output from testmodel.py, exit status != 0: 12.704183373134583 12.720841119 12.364542855 Calling exit ...