Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.001576/0.001576, 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.001538/0.001538, allocations: 208.2 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1881/0.1881, allocations: 38.56 MB / 352.5 MB, free: 12.28 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,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",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.002082/0.002082, allocations: 74.39 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 62.45 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008806/0.332, allocations: 7.033 MB / 0.5488 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006376/0.3384, allocations: 4.112 MB / 0.5528 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.3388, allocations: 15.84 kB / 0.5528 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.3417, allocations: 1.024 MB / 0.5538 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.3451, allocations: 1.203 MB / 0.555 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.346, allocations: 331.2 kB / 0.5553 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.348, allocations: 1.398 MB / 0.5567 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000942/0.3489, allocations: 0.5198 MB / 0.5572 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.35, allocations: 0.6343 MB / 0.5578 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009863/0.351, allocations: 0.7553 MB / 0.5586 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.852e-05/0.3511, allocations: 64 kB / 0.5586 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.3533, allocations: 1.126 MB / 0.5597 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.3538, allocations: 486.8 kB / 0.5602 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.3542, allocations: 374.4 kB / 0.5605 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.3563, allocations: 1.464 MB / 0.562 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3563, allocations: 0 / 0.562 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3563, allocations: 4 kB / 0.562 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3563, allocations: 0 / 0.562 GB, free: 15.68 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00166/0.358, allocations: 1.078 MB / 0.563 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.358, allocations: 11.98 kB / 0.563 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.3582, allocations: 131.2 kB / 0.5632 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.3614, allocations: 387.9 kB / 0.5635 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3624, allocations: 441.7 kB / 0.5639 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.3625, allocations: 54.31 kB / 0.564 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3626, allocations: 68.36 kB / 0.5641 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.3645, allocations: 1.18 MB / 0.5652 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.3645, allocations: 4 kB / 0.5652 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.3646, allocations: 27.98 kB / 0.5652 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.3647, allocations: 77.95 kB / 0.5653 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.3666, allocations: 1.23 MB / 0.5665 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005708/0.3723, allocations: 3.236 MB / 0.5697 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.374, allocations: 0.9797 MB / 0.5706 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008798/0.3749, allocations: 0.5967 MB / 0.5712 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.298e-05/0.375, allocations: 16.98 kB / 0.5712 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.375, allocations: 47.5 kB / 0.5713 GB, free: 5.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.795e-06/0.375, allocations: 0 / 0.5713 GB, free: 5.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006671/0.3817, allocations: 3.012 MB / 0.5742 GB, free: 2.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.3817, allocations: 86.11 kB / 0.5743 GB, free: 2.805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.3821, allocations: 369.6 kB / 0.5747 GB, free: 2.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.3822, allocations: 41.7 kB / 0.5747 GB, free: 2.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.3824, allocations: 320.9 kB / 0.575 GB, free: 2.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.3827, allocations: 333.1 kB / 0.5753 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.383, allocations: 158.6 kB / 0.5755 GB, free: 1.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3832, allocations: 370.8 kB / 0.5758 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.3839, allocations: 465.7 kB / 0.5763 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.3847, allocations: 0.5657 MB / 0.5768 GB, free: 164 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.3863, allocations: 1.117 MB / 0.5779 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3863, allocations: 0 / 0.5779 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002576/0.3889, allocations: 1.466 MB / 0.5793 GB, free: 13.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3889, allocations: 8 kB / 0.5794 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3889, allocations: 0 / 0.5794 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000948/0.3899, allocations: 340.7 kB / 0.5797 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.3906, allocations: 179.7 kB / 0.5798 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/0.3963, allocations: 3.916 MB / 0.5837 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.3968, allocations: 51.94 kB / 0.5837 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.3969, allocations: 31.98 kB / 0.5838 GB, free: 8.906 MB / 430.1 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.0004534/0.3973, allocations: 289.6 kB / 0.584 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.3975, allocations: 59.62 kB / 0.5841 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.4003, allocations: 1.563 MB / 0.5856 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4003, allocations: 11.98 kB / 0.5856 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4003, allocations: 4 kB / 0.5856 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4003, allocations: 7.984 kB / 0.5856 GB, free: 6.953 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.005421/0.4058, allocations: 2.77 MB / 0.5883 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.4058, allocations: 4.438 kB / 0.5883 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006447/0.4064, allocations: 171.7 kB / 0.5885 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008203/0.4072, allocations: 293.1 kB / 0.5888 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.4073, allocations: 23.98 kB / 0.5888 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/0.4128, allocations: 3.717 MB / 0.5924 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.4128, allocations: 4 kB / 0.5924 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.4155, allocations: 1.587 MB / 0.594 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.4157, allocations: 71.5 kB / 0.5941 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.4158, allocations: 23.94 kB / 0.5941 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.4163, allocations: 47.95 kB / 0.5941 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.4165, allocations: 84.78 kB / 0.5942 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-05/0.4165, allocations: 39.94 kB / 0.5943 GB, free: 13.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002973/0.4168, allocations: 255.1 kB / 0.5945 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4168, allocations: 0 / 0.5945 GB, free: 13.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009646/0.4178, allocations: 308 kB / 0.5948 GB, free: 13.3 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.003103/0.4209, allocations: 2.145 MB / 0.5969 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.4234, allocations: 1.338 MB / 0.5982 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.4234, allocations: 4.125 kB / 0.5982 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.4247, allocations: 0.7928 MB / 0.599 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.4255, allocations: 113.8 kB / 0.5991 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.4371, allocations: 7.538 MB / 0.6064 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.4377, allocations: 476.9 kB / 0.6069 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004764/0.4382, allocations: 180.6 kB / 0.6071 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.4386, allocations: 267.3 kB / 0.6073 GB, free: 116 kB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4386, allocations: 0 / 0.6073 GB, free: 116 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/0.4921, allocations: 18.16 MB / 0.6251 GB, free: 14.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.65, allocations: 13.84 kB / 0.6251 GB, free: 14.09 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_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.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.500374981027562] Failed to read output from testmodel.py, exit status != 0: 12.769664992985781 12.799732278 12.437722053 Calling exit ...