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.001318/0.001318, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001391/0.001391, allocations: 213.1 kB / 23.73 MB, free: 4.516 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.499/1.499, 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.1889/0.1889, allocations: 38.54 MB / 352.5 MB, free: 12.31 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.002028/0.002028, allocations: 74.09 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3567, allocations: 62.45 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009233/0.366, allocations: 7.271 MB / 0.549 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006993/0.3729, allocations: 4.428 MB / 0.5534 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.3735, allocations: 17.31 kB / 0.5534 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002931/0.3764, allocations: 1.075 MB / 0.5544 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.38, allocations: 1.275 MB / 0.5557 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.3812, allocations: 371.5 kB / 0.556 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.3833, allocations: 1.457 MB / 0.5575 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008317/0.3841, allocations: 0.5211 MB / 0.558 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.3855, allocations: 0.6613 MB / 0.5586 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.3866, allocations: 0.7788 MB / 0.5594 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.3867, allocations: 64 kB / 0.5594 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.3891, allocations: 1.215 MB / 0.5606 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.3897, allocations: 0.4948 MB / 0.5611 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.3902, allocations: 386.4 kB / 0.5615 GB, free: 244 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.393, allocations: 1.553 MB / 0.563 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.393, allocations: 0 / 0.563 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.393, allocations: 0 / 0.563 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.393, allocations: 4 kB / 0.563 GB, free: 14.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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001922/0.3949, allocations: 1.109 MB / 0.5641 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.395, allocations: 11.98 kB / 0.5641 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.3951, allocations: 139.3 kB / 0.5642 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/0.3985, allocations: 415.8 kB / 0.5646 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3996, allocations: 453.6 kB / 0.565 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.3996, allocations: 58.36 kB / 0.5651 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.3998, allocations: 76.3 kB / 0.5652 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.4017, allocations: 1.23 MB / 0.5664 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.4018, allocations: 4 kB / 0.5664 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.4019, allocations: 24 kB / 0.5664 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.402, allocations: 77.95 kB / 0.5665 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.4041, allocations: 1.308 MB / 0.5678 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006167/0.4102, allocations: 3.4 MB / 0.5711 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.412, allocations: 1.012 MB / 0.5721 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/0.4128, allocations: 0.5746 MB / 0.5726 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.4129, allocations: 24.98 kB / 0.5726 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.413, allocations: 39.56 kB / 0.5727 GB, free: 4.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.407e-06/0.413, allocations: 0 / 0.5727 GB, free: 4.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.006801/0.4198, allocations: 3.063 MB / 0.5757 GB, free: 1.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.4198, allocations: 90.14 kB / 0.5758 GB, free: 1.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.4203, allocations: 393.4 kB / 0.5761 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.4204, allocations: 37.7 kB / 0.5762 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.4206, allocations: 329 kB / 0.5765 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.4209, allocations: 345 kB / 0.5768 GB, free: 244 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.4212, allocations: 154.6 kB / 0.577 GB, free: 84 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.4214, allocations: 370.8 kB / 0.5773 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.4221, allocations: 465.7 kB / 0.5778 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.4229, allocations: 0.5743 MB / 0.5783 GB, free: 14.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.4245, allocations: 1.118 MB / 0.5794 GB, free: 13.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4245, allocations: 0 / 0.5794 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002572/0.4271, allocations: 1.474 MB / 0.5809 GB, free: 12.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4271, allocations: 8 kB / 0.5809 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4271, allocations: 4 kB / 0.5809 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009405/0.428, allocations: 336.7 kB / 0.5812 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/0.4288, allocations: 183.7 kB / 0.5814 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/0.4343, allocations: 3.906 MB / 0.5852 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.4349, allocations: 43.95 kB / 0.5852 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.435, allocations: 39.92 kB / 0.5853 GB, free: 7.387 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.0004428/0.4354, allocations: 297.6 kB / 0.5855 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.4356, allocations: 63.69 kB / 0.5856 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.4382, allocations: 1.54 MB / 0.5871 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.4383, allocations: 12 kB / 0.5871 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4383, allocations: 4 kB / 0.5871 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.4383, allocations: 7.969 kB / 0.5871 GB, free: 5.445 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.005126/0.4434, allocations: 2.762 MB / 0.5898 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.4434, allocations: 8.016 kB / 0.5898 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.444, allocations: 163.8 kB / 0.59 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007793/0.4448, allocations: 289.2 kB / 0.5903 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.4449, allocations: 27.92 kB / 0.5903 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/0.4502, allocations: 3.687 MB / 0.5939 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.4502, allocations: 8 kB / 0.5939 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.4528, allocations: 1.571 MB / 0.5954 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.453, allocations: 67.56 kB / 0.5955 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.4531, allocations: 31.98 kB / 0.5955 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.4535, allocations: 39.97 kB / 0.5956 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.4537, allocations: 80.78 kB / 0.5956 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-05/0.4537, allocations: 39.98 kB / 0.5957 GB, free: 12.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.4541, allocations: 267.1 kB / 0.5959 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4541, allocations: 4 kB / 0.5959 GB, free: 12.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001031/0.4551, allocations: 308 kB / 0.5962 GB, free: 11.84 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.002924/0.458, allocations: 2.133 MB / 0.5983 GB, free: 9.633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.4604, allocations: 1.328 MB / 0.5996 GB, free: 8.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.4604, allocations: 4 kB / 0.5996 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.4617, allocations: 0.7967 MB / 0.6004 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000756/0.4625, allocations: 112.6 kB / 0.6005 GB, free: 7.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.4741, allocations: 7.636 MB / 0.608 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.4747, allocations: 485.1 kB / 0.6084 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004625/0.4752, allocations: 188.7 kB / 0.6086 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.4756, allocations: 271.3 kB / 0.6089 GB, free: 14.54 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4756, allocations: 4 kB / 0.6089 GB, free: 14.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.5281, allocations: 18.35 MB / 0.6268 GB, free: 12.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.61, allocations: 8.047 kB / 0.6268 GB, free: 12.33 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.50806375395041] Failed to read output from testmodel.py, exit status != 0: 12.733725029975176 12.749373474 12.353211214 Calling exit ...