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.001293/0.001293, allocations: 119.9 kB / 20.44 MB, free: 1.297 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.001925/0.001925, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.1895/0.1895, allocations: 38.53 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_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.00213/0.00213, allocations: 63.03 kB / 492.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 62.47 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009786/0.3449, allocations: 7.751 MB / 0.5496 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.3511, allocations: 4.251 MB / 0.5537 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.3515, allocations: 19.66 kB / 0.5538 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.3542, allocations: 1.064 MB / 0.5548 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.3568, allocations: 1.111 MB / 0.5559 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.3576, allocations: 312 kB / 0.5562 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.3593, allocations: 1.365 MB / 0.5575 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006828/0.36, allocations: 402.4 kB / 0.5579 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008265/0.3608, allocations: 0.5746 MB / 0.5585 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00088/0.3617, allocations: 0.65 MB / 0.5591 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.3617, allocations: 36 kB / 0.5591 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.3635, allocations: 1.025 MB / 0.5601 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.3638, allocations: 283.1 kB / 0.5604 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.3641, allocations: 242.9 kB / 0.5606 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.3653, allocations: 0.8136 MB / 0.5614 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3653, allocations: 0 / 0.5614 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3653, allocations: 0 / 0.5614 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3653, allocations: 0 / 0.5614 GB, free: 0.6211 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.001188/0.3665, allocations: 0.7507 MB / 0.5622 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3665, allocations: 11.98 kB / 0.5622 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.3666, allocations: 90.62 kB / 0.5622 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.3681, allocations: 132.5 kB / 0.5624 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.3686, allocations: 276.8 kB / 0.5626 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.3687, allocations: 33.36 kB / 0.5627 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.3688, allocations: 40.36 kB / 0.5627 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.3696, allocations: 0.5828 MB / 0.5633 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3696, allocations: 3.938 kB / 0.5633 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.3697, allocations: 15.98 kB / 0.5633 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/0.3698, allocations: 40.64 kB / 0.5633 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.3704, allocations: 382.1 kB / 0.5637 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.3731, allocations: 2.556 MB / 0.5662 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.3738, allocations: 407.8 kB / 0.5666 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.3741, allocations: 186.5 kB / 0.5668 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3741, allocations: 7.984 kB / 0.5668 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3742, allocations: 42.48 kB / 0.5668 GB, free: 10.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.3742, allocations: 0 / 0.5668 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001761/0.3759, allocations: 0.682 MB / 0.5675 GB, free: 10.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.376, allocations: 114.8 kB / 0.5676 GB, free: 9.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.3764, allocations: 316.6 kB / 0.5679 GB, free: 9.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.3764, allocations: 37.7 kB / 0.5679 GB, free: 9.605 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3766, allocations: 252.4 kB / 0.5682 GB, free: 9.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3767, allocations: 119 kB / 0.5683 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3768, allocations: 86.08 kB / 0.5684 GB, free: 9.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.377, allocations: 338.8 kB / 0.5687 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3772, allocations: 140.7 kB / 0.5688 GB, free: 8.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.3775, allocations: 279.4 kB / 0.5691 GB, free: 8.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/0.3781, allocations: 448.2 kB / 0.5695 GB, free: 7.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3781, allocations: 8 kB / 0.5695 GB, free: 7.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009119/0.379, allocations: 0.5542 MB / 0.5701 GB, free: 7.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3791, allocations: 8 kB / 0.5701 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3791, allocations: 8 kB / 0.5701 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.3795, allocations: 128.4 kB / 0.5702 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3797, allocations: 79.84 kB / 0.5703 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.3826, allocations: 2.444 MB / 0.5727 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.3828, allocations: 47.62 kB / 0.5727 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.3829, allocations: 20 kB / 0.5727 GB, free: 4.395 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.3831, allocations: 201.7 kB / 0.5729 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.3832, allocations: 39.77 kB / 0.573 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.3833, allocations: 47.95 kB / 0.573 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3833, allocations: 4 kB / 0.573 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.3833, allocations: 7.938 kB / 0.573 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3833, allocations: 0 / 0.573 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.3847, allocations: 0.9257 MB / 0.5739 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3847, allocations: 0 / 0.5739 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3849, allocations: 31.98 kB / 0.5739 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.3852, allocations: 112.7 kB / 0.5741 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3852, allocations: 8.062 kB / 0.5741 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/0.3879, allocations: 2.452 MB / 0.5765 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3879, allocations: 0 / 0.5765 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.3887, allocations: 0.6267 MB / 0.5771 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.3888, allocations: 43.62 kB / 0.5771 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3888, allocations: 11.94 kB / 0.5771 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.389, allocations: 8 kB / 0.5771 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.389, allocations: 27.95 kB / 0.5772 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.389, allocations: 8 kB / 0.5772 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.3893, allocations: 223 kB / 0.5774 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3893, allocations: 0 / 0.5774 GB, free: 15.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000655/0.3899, allocations: 159.8 kB / 0.5775 GB, free: 15.25 MB / 430.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.001161/0.3911, allocations: 1.157 MB / 0.5787 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009845/0.3921, allocations: 0.519 MB / 0.5792 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3921, allocations: 0 / 0.5792 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.3926, allocations: 330.4 kB / 0.5795 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.3932, allocations: 68.73 kB / 0.5795 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.3987, allocations: 3.995 MB / 0.5834 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.3994, allocations: 0.8785 MB / 0.5843 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.3996, allocations: 70.91 kB / 0.5844 GB, free: 7.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.3998, allocations: 119.4 kB / 0.5845 GB, free: 7.801 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3998, allocations: 0 / 0.5845 GB, free: 7.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.437, allocations: 8.071 MB / 0.5924 GB, free: 15.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.61, allocations: 7.922 kB / 0.5924 GB, free: 15.84 MB / 446.1 MB " [Timeout remaining time 647] (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.469235636999656] Failed to read output from testmodel.py, exit status != 0: 12.739632765005808 12.770932742 12.400456761 Calling exit ...