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.001315/0.001315, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001465/0.001465, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1846/0.1846, allocations: 38.54 MB / 352.5 MB, free: 12.3 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.002125/0.002125, allocations: 71.89 kB / 492.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3367, allocations: 62.46 MB / 0.542 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.008942/0.3456, allocations: 7.176 MB / 0.549 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006/0.3516, allocations: 3.898 MB / 0.5528 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.352, allocations: 17.44 kB / 0.5528 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.3547, allocations: 1.019 MB / 0.5538 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.3572, allocations: 1.115 MB / 0.5549 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008112/0.358, allocations: 304.4 kB / 0.5552 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.3596, allocations: 1.369 MB / 0.5565 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/0.3604, allocations: 402 kB / 0.5569 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3614, allocations: 0.5878 MB / 0.5575 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009032/0.3623, allocations: 0.6423 MB / 0.5581 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.3624, allocations: 36 kB / 0.5581 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.364, allocations: 0.7982 MB / 0.5589 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.3644, allocations: 283.2 kB / 0.5592 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.3646, allocations: 211 kB / 0.5594 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.3658, allocations: 0.8214 MB / 0.5602 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3658, allocations: 0 / 0.5602 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3658, allocations: 0 / 0.5602 GB, free: 1.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3658, allocations: 0 / 0.5602 GB, free: 1.555 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.001202/0.3671, allocations: 0.7313 MB / 0.5609 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3671, allocations: 15.98 kB / 0.5609 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.3672, allocations: 82.69 kB / 0.561 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.3687, allocations: 136.5 kB / 0.5611 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.3693, allocations: 280.7 kB / 0.5614 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.3693, allocations: 33.36 kB / 0.5614 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.3694, allocations: 36.38 kB / 0.5614 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.3703, allocations: 0.5867 MB / 0.562 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3703, allocations: 3.938 kB / 0.562 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.3703, allocations: 23.92 kB / 0.562 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.3704, allocations: 40.62 kB / 0.5621 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.371, allocations: 386.1 kB / 0.5624 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.3737, allocations: 2.466 MB / 0.5649 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/0.3744, allocations: 422.4 kB / 0.5653 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.3746, allocations: 188.7 kB / 0.5654 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3747, allocations: 4 kB / 0.5654 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.3747, allocations: 42.55 kB / 0.5655 GB, free: 11.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.3747, allocations: 0 / 0.5655 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001728/0.3764, allocations: 0.6739 MB / 0.5661 GB, free: 11.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.3765, allocations: 110.8 kB / 0.5662 GB, free: 11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.3769, allocations: 324.5 kB / 0.5666 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.3769, allocations: 33.7 kB / 0.5666 GB, free: 10.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.3771, allocations: 256.6 kB / 0.5668 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3772, allocations: 130.9 kB / 0.567 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.3773, allocations: 82.08 kB / 0.567 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3775, allocations: 346.8 kB / 0.5674 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.3777, allocations: 128.8 kB / 0.5675 GB, free: 9.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.3781, allocations: 275.5 kB / 0.5677 GB, free: 9.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.3787, allocations: 460.1 kB / 0.5682 GB, free: 8.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3787, allocations: 4 kB / 0.5682 GB, free: 8.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009292/0.3796, allocations: 0.5581 MB / 0.5687 GB, free: 8.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3796, allocations: 4 kB / 0.5687 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3796, allocations: 8 kB / 0.5687 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/0.38, allocations: 125.3 kB / 0.5689 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3802, allocations: 75.84 kB / 0.5689 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.383, allocations: 2.375 MB / 0.5713 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3833, allocations: 43.69 kB / 0.5713 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.3833, allocations: 23.94 kB / 0.5713 GB, free: 5.496 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.0002481/0.3836, allocations: 206.7 kB / 0.5715 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.3836, allocations: 43.75 kB / 0.5716 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.016e-05/0.3837, allocations: 43.95 kB / 0.5716 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3837, allocations: 4 kB / 0.5716 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.3837, allocations: 7.938 kB / 0.5716 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3837, allocations: 0 / 0.5716 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.3851, allocations: 0.883 MB / 0.5725 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3851, allocations: 3.938 kB / 0.5725 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3853, allocations: 35.92 kB / 0.5725 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.3856, allocations: 108.8 kB / 0.5726 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.3856, allocations: 8.062 kB / 0.5726 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.3884, allocations: 2.374 MB / 0.5749 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3884, allocations: 4.094 kB / 0.575 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.3891, allocations: 0.6266 MB / 0.5756 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.3e-05/0.3892, allocations: 39.7 kB / 0.5756 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3893, allocations: 11.94 kB / 0.5756 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.3894, allocations: 11.98 kB / 0.5756 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.3895, allocations: 23.95 kB / 0.5756 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3895, allocations: 8 kB / 0.5757 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.3897, allocations: 223.1 kB / 0.5759 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 0.5759 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006615/0.3904, allocations: 163.8 kB / 0.576 GB, free: 480 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.001263/0.3917, allocations: 1.152 MB / 0.5771 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3927, allocations: 0.5062 MB / 0.5776 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3927, allocations: 1.312 kB / 0.5776 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.3932, allocations: 334.5 kB / 0.578 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.3937, allocations: 65.72 kB / 0.578 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.399, allocations: 4.002 MB / 0.5819 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3994, allocations: 272.6 kB / 0.5822 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.3996, allocations: 74.89 kB / 0.5823 GB, free: 9.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3997, allocations: 119.4 kB / 0.5824 GB, free: 9.641 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3997, allocations: 0 / 0.5824 GB, free: 9.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.4392, allocations: 8.495 MB / 0.5907 GB, free: 1.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.23, allocations: 12.81 kB / 0.5907 GB, free: 1.273 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.098442362970673] Failed to read output from testmodel.py, exit status != 0: 12.344999480992556 12.374181089 12.002899126 Calling exit ...