Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001348/0.001348, 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.001513/0.001513, allocations: 211.1 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1859/0.1859, 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.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.002081/0.002081, allocations: 67.89 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3389, allocations: 62.46 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009032/0.3479, allocations: 7.18 MB / 0.549 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006208/0.3541, allocations: 3.895 MB / 0.5528 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005785/0.3547, allocations: 20.75 kB / 0.5528 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.3574, allocations: 1.011 MB / 0.5538 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.3606, allocations: 1.113 MB / 0.5549 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3616, allocations: 308 kB / 0.5552 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.3636, allocations: 1.37 MB / 0.5565 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000688/0.3642, allocations: 389.9 kB / 0.5569 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009373/0.3652, allocations: 0.5947 MB / 0.5574 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000903/0.3661, allocations: 0.6265 MB / 0.5581 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.3662, allocations: 36 kB / 0.5581 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.368, allocations: 0.7905 MB / 0.5589 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003393/0.3683, allocations: 283.1 kB / 0.5591 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.3686, allocations: 207.1 kB / 0.5593 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.3699, allocations: 0.8214 MB / 0.5601 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3699, allocations: 0 / 0.5601 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3699, allocations: 0 / 0.5601 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3699, allocations: 0 / 0.5601 GB, free: 1.574 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001256/0.3712, allocations: 0.7391 MB / 0.5609 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3712, allocations: 11.98 kB / 0.5609 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.3714, allocations: 86.69 kB / 0.5609 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.3729, allocations: 128.5 kB / 0.5611 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.3735, allocations: 280.8 kB / 0.5613 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.3735, allocations: 29.38 kB / 0.5614 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.3736, allocations: 44.3 kB / 0.5614 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008882/0.3744, allocations: 0.5906 MB / 0.562 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3745, allocations: 7.938 kB / 0.562 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.3745, allocations: 19.98 kB / 0.562 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.08e-05/0.3746, allocations: 36.62 kB / 0.562 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.3752, allocations: 378.2 kB / 0.5624 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.3778, allocations: 2.482 MB / 0.5648 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.3784, allocations: 403.8 kB / 0.5652 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.3787, allocations: 192.7 kB / 0.5654 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3787, allocations: 4 kB / 0.5654 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3788, allocations: 42.5 kB / 0.5654 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.3788, allocations: 0 / 0.5654 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001704/0.3805, allocations: 0.6817 MB / 0.5661 GB, free: 11.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.3806, allocations: 106.8 kB / 0.5662 GB, free: 11.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.3809, allocations: 328.5 kB / 0.5665 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3809, allocations: 33.7 kB / 0.5666 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.3811, allocations: 256.6 kB / 0.5668 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3812, allocations: 122.9 kB / 0.5669 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3814, allocations: 82.09 kB / 0.567 GB, free: 10.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3815, allocations: 346.8 kB / 0.5673 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.3817, allocations: 124.8 kB / 0.5674 GB, free: 9.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.3821, allocations: 289.1 kB / 0.5677 GB, free: 9.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.3826, allocations: 452.2 kB / 0.5682 GB, free: 8.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3826, allocations: 0 / 0.5682 GB, free: 8.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009343/0.3836, allocations: 0.5581 MB / 0.5687 GB, free: 8.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3836, allocations: 8 kB / 0.5687 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3836, allocations: 7.938 kB / 0.5687 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.3839, allocations: 129 kB / 0.5688 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.3842, allocations: 83.78 kB / 0.5689 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.3871, allocations: 2.375 MB / 0.5712 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.3873, allocations: 43.69 kB / 0.5713 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.3873, allocations: 23.94 kB / 0.5713 GB, free: 5.512 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.3875, allocations: 193.7 kB / 0.5715 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.3876, allocations: 39.77 kB / 0.5715 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-05/0.3877, allocations: 51.94 kB / 0.5716 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3877, allocations: 4 kB / 0.5716 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3877, allocations: 7.938 kB / 0.5716 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3877, allocations: 0 / 0.5716 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.389, allocations: 0.8789 MB / 0.5724 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.389, allocations: 0 / 0.5724 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.3892, allocations: 39.98 kB / 0.5725 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002699/0.3894, allocations: 108.8 kB / 0.5726 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.3895, allocations: 8 kB / 0.5726 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.3922, allocations: 2.382 MB / 0.5749 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3922, allocations: 8.094 kB / 0.5749 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.3931, allocations: 0.6188 MB / 0.5755 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.3932, allocations: 43.7 kB / 0.5756 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.3932, allocations: 7.938 kB / 0.5756 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.3934, allocations: 8.188 kB / 0.5756 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.3935, allocations: 27.94 kB / 0.5756 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.3935, allocations: 11.94 kB / 0.5756 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.3937, allocations: 223.1 kB / 0.5758 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3937, allocations: 3.938 kB / 0.5758 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007053/0.3944, allocations: 163.8 kB / 0.576 GB, free: 496 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.3956, allocations: 1.148 MB / 0.5771 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009661/0.3966, allocations: 0.514 MB / 0.5776 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3966, allocations: 1.312 kB / 0.5776 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.3972, allocations: 326.5 kB / 0.5779 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.3978, allocations: 64.75 kB / 0.578 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.4032, allocations: 4.006 MB / 0.5819 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.4036, allocations: 280.6 kB / 0.5822 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.4038, allocations: 70.84 kB / 0.5822 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.404, allocations: 115.4 kB / 0.5824 GB, free: 9.656 MB / 430.1 MB Notification: Performance of SimCode: time 1.293e-06/0.404, allocations: 0 / 0.5824 GB, free: 9.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.4437, allocations: 8.333 MB / 0.5905 GB, free: 1.461 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.1, allocations: 6.469 kB / 0.5905 GB, free: 1.457 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_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_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.09500498790294] Failed to read output from testmodel.py, exit status != 0: 12.216498758178204 12.242414906 11.86889181 Calling exit ...