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.001777/0.001777, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002288/0.002288, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.542/1.542, 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.1908/0.1908, allocations: 38.53 MB / 352.5 MB, free: 12.61 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.002177/0.002177, allocations: 59.91 kB / 492.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3696, allocations: 62.47 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009522/0.3791, allocations: 7.87 MB / 0.5497 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007541/0.3866, allocations: 4.841 MB / 0.5544 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.3872, allocations: 17.31 kB / 0.5544 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.3902, allocations: 1.133 MB / 0.5555 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.3936, allocations: 1.271 MB / 0.5568 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3947, allocations: 370.7 kB / 0.5571 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.3971, allocations: 1.465 MB / 0.5586 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/0.398, allocations: 0.5173 MB / 0.5591 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.3993, allocations: 0.6536 MB / 0.5597 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.4005, allocations: 0.7787 MB / 0.5605 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4007, allocations: 64 kB / 0.5605 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.4035, allocations: 1.477 MB / 0.562 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006243/0.4042, allocations: 0.4987 MB / 0.5625 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.4048, allocations: 453.9 kB / 0.5629 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.4075, allocations: 1.55 MB / 0.5644 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4075, allocations: 0 / 0.5644 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4075, allocations: 0 / 0.5644 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.4075, allocations: 0 / 0.5644 GB, free: 13.53 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.001848/0.4093, allocations: 1.109 MB / 0.5655 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4094, allocations: 15.98 kB / 0.5655 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.4095, allocations: 139.4 kB / 0.5656 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.4129, allocations: 415.8 kB / 0.566 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/0.4139, allocations: 445.6 kB / 0.5665 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.4139, allocations: 58.3 kB / 0.5665 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.4141, allocations: 80.25 kB / 0.5666 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.4161, allocations: 1.238 MB / 0.5678 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.4161, allocations: 0 / 0.5678 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.4162, allocations: 31.98 kB / 0.5678 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.4163, allocations: 81.89 kB / 0.5679 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.4184, allocations: 1.308 MB / 0.5692 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006277/0.4247, allocations: 3.61 MB / 0.5727 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.4266, allocations: 1.019 MB / 0.5737 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009073/0.4275, allocations: 0.5707 MB / 0.5743 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.4276, allocations: 17.12 kB / 0.5743 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.4276, allocations: 47.5 kB / 0.5743 GB, free: 3.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.856e-06/0.4276, allocations: 0 / 0.5743 GB, free: 3.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.00734/0.4349, allocations: 3.06 MB / 0.5773 GB, free: 68 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.435, allocations: 86.16 kB / 0.5774 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.4355, allocations: 381.5 kB / 0.5778 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.4356, allocations: 45.64 kB / 0.5778 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.4358, allocations: 332.9 kB / 0.5781 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.4362, allocations: 337.1 kB / 0.5784 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.4365, allocations: 166.5 kB / 0.5786 GB, free: 14.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.4367, allocations: 366.8 kB / 0.5789 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.4374, allocations: 465.7 kB / 0.5794 GB, free: 13.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.4383, allocations: 0.5743 MB / 0.58 GB, free: 13.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.44, allocations: 1.114 MB / 0.581 GB, free: 12.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.44, allocations: 0 / 0.581 GB, free: 12.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002728/0.4427, allocations: 1.477 MB / 0.5825 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.4428, allocations: 8 kB / 0.5825 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4428, allocations: 4 kB / 0.5825 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.4438, allocations: 336.6 kB / 0.5828 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/0.4446, allocations: 183.7 kB / 0.583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005986/0.4505, allocations: 4.06 MB / 0.587 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.4511, allocations: 43.95 kB / 0.587 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/0.4512, allocations: 43.92 kB / 0.587 GB, free: 5.832 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.0004565/0.4516, allocations: 300.3 kB / 0.5873 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4518, allocations: 63.62 kB / 0.5874 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.4547, allocations: 1.54 MB / 0.5889 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4547, allocations: 15.98 kB / 0.5889 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4547, allocations: 4 kB / 0.5889 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.4547, allocations: 7.969 kB / 0.5889 GB, free: 3.887 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.005618/0.4604, allocations: 2.972 MB / 0.5918 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.4604, allocations: 4 kB / 0.5918 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/0.4611, allocations: 167.8 kB / 0.592 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008427/0.4619, allocations: 284.9 kB / 0.5923 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/0.462, allocations: 27.98 kB / 0.5923 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.4675, allocations: 3.796 MB / 0.596 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4675, allocations: 12 kB / 0.596 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.4703, allocations: 1.567 MB / 0.5975 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.4705, allocations: 75.48 kB / 0.5976 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4706, allocations: 20 kB / 0.5976 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.471, allocations: 43.95 kB / 0.5977 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.4712, allocations: 84.73 kB / 0.5977 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/0.4713, allocations: 35.98 kB / 0.5978 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.4716, allocations: 271.1 kB / 0.598 GB, free: 10.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4716, allocations: 0 / 0.598 GB, free: 10.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001023/0.4726, allocations: 308 kB / 0.5983 GB, free: 9.93 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.003084/0.4757, allocations: 2.133 MB / 0.6004 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.4784, allocations: 1.323 MB / 0.6017 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4784, allocations: 0 / 0.6017 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.4798, allocations: 0.7967 MB / 0.6025 GB, free: 5.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008622/0.4807, allocations: 109 kB / 0.6026 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.4934, allocations: 7.64 MB / 0.61 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009163/0.4944, allocations: 1.083 MB / 0.6111 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004859/0.4948, allocations: 184.7 kB / 0.6113 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.4953, allocations: 275.3 kB / 0.6115 GB, free: 12.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4953, allocations: 0 / 0.6115 GB, free: 12.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05518/0.5505, allocations: 17.86 MB / 0.629 GB, free: 10.28 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.42, allocations: 4.562 kB / 0.629 GB, free: 10.27 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.412455676996615] Failed to read output from testmodel.py, exit status != 0: 13.53751159899548 13.556482807 13.145827681 Calling exit ...