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.001533/0.001533, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001815/0.001815, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.614/1.614, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1849/0.1849, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.002477/0.002477, allocations: 63.91 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3571, allocations: 62.46 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.01041/0.3675, allocations: 7.033 MB / 0.5488 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.375, allocations: 4.107 MB / 0.5528 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.3758, allocations: 16.31 kB / 0.5528 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.3786, allocations: 1.024 MB / 0.5538 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.3824, allocations: 1.214 MB / 0.555 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3835, allocations: 315.1 kB / 0.5553 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002595/0.3861, allocations: 1.401 MB / 0.5567 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.3874, allocations: 0.5144 MB / 0.5572 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.3891, allocations: 0.642 MB / 0.5578 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.3908, allocations: 0.7086 MB / 0.5585 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.3911, allocations: 64 kB / 0.5586 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.394, allocations: 1.126 MB / 0.5597 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007317/0.3947, allocations: 486.7 kB / 0.5601 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.3958, allocations: 374.4 kB / 0.5605 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.3994, allocations: 1.464 MB / 0.5619 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3994, allocations: 0 / 0.5619 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3994, allocations: 4 kB / 0.5619 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.619e-05/0.3995, allocations: 0 / 0.5619 GB, free: 15.73 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.002631/0.4021, allocations: 1.074 MB / 0.563 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.4022, allocations: 15.92 kB / 0.563 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002196/0.4024, allocations: 127.2 kB / 0.5631 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.4058, allocations: 395.9 kB / 0.5635 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.4069, allocations: 433.7 kB / 0.5639 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.407, allocations: 54.36 kB / 0.564 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.4071, allocations: 72.36 kB / 0.564 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.4092, allocations: 1.176 MB / 0.5652 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.4092, allocations: 3.938 kB / 0.5652 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.4093, allocations: 28 kB / 0.5652 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.4094, allocations: 73.95 kB / 0.5653 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.4115, allocations: 1.233 MB / 0.5665 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006125/0.4176, allocations: 3.232 MB / 0.5696 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.4193, allocations: 0.9795 MB / 0.5706 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009416/0.4203, allocations: 0.5939 MB / 0.5712 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/0.4203, allocations: 13 kB / 0.5712 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.4204, allocations: 47.56 kB / 0.5712 GB, free: 5.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.035e-06/0.4204, allocations: 0 / 0.5712 GB, free: 5.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006869/0.4272, allocations: 3.002 MB / 0.5742 GB, free: 2.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.4273, allocations: 90.11 kB / 0.5742 GB, free: 2.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.4277, allocations: 365.6 kB / 0.5746 GB, free: 2.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.4278, allocations: 45.64 kB / 0.5746 GB, free: 2.453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.428, allocations: 320.9 kB / 0.5749 GB, free: 2.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.4284, allocations: 337 kB / 0.5753 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.4287, allocations: 154.6 kB / 0.5754 GB, free: 1.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4289, allocations: 366.8 kB / 0.5758 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007457/0.4296, allocations: 473.8 kB / 0.5762 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008251/0.4304, allocations: 0.5734 MB / 0.5768 GB, free: 216 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.4321, allocations: 1.109 MB / 0.5779 GB, free: 15.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4321, allocations: 4 kB / 0.5779 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002677/0.4348, allocations: 1.466 MB / 0.5793 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4349, allocations: 6.812 kB / 0.5793 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4349, allocations: 4 kB / 0.5793 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.4359, allocations: 336.8 kB / 0.5796 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.4367, allocations: 187.7 kB / 0.5798 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006392/0.4431, allocations: 3.912 MB / 0.5836 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.4438, allocations: 43.95 kB / 0.5837 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/0.4439, allocations: 39.98 kB / 0.5837 GB, free: 8.965 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.0006769/0.4446, allocations: 301.6 kB / 0.584 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4448, allocations: 59.62 kB / 0.584 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.4477, allocations: 1.551 MB / 0.5856 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.4477, allocations: 12 kB / 0.5856 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4477, allocations: 4 kB / 0.5856 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.4477, allocations: 3.984 kB / 0.5856 GB, free: 7.016 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.005615/0.4534, allocations: 2.782 MB / 0.5883 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.4534, allocations: 4 kB / 0.5883 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/0.454, allocations: 167.8 kB / 0.5885 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000856/0.4549, allocations: 285.2 kB / 0.5887 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/0.455, allocations: 27.98 kB / 0.5888 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005598/0.4606, allocations: 3.703 MB / 0.5924 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.4606, allocations: 11.94 kB / 0.5924 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.4633, allocations: 1.583 MB / 0.5939 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.4634, allocations: 75.56 kB / 0.594 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/0.4635, allocations: 31.92 kB / 0.594 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.464, allocations: 35.97 kB / 0.5941 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.4642, allocations: 84.78 kB / 0.5942 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.4642, allocations: 43.91 kB / 0.5942 GB, free: 13.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.4645, allocations: 259.2 kB / 0.5944 GB, free: 13.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4645, allocations: 0 / 0.5944 GB, free: 13.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009408/0.4655, allocations: 304 kB / 0.5947 GB, free: 13.37 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.002922/0.4684, allocations: 2.155 MB / 0.5968 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.4707, allocations: 1.342 MB / 0.5981 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4707, allocations: 0 / 0.5981 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.472, allocations: 0.8008 MB / 0.5989 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.4727, allocations: 112.9 kB / 0.599 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.4843, allocations: 7.526 MB / 0.6064 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.4849, allocations: 480.8 kB / 0.6068 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005195/0.4854, allocations: 180.6 kB / 0.607 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.4859, allocations: 259.3 kB / 0.6073 GB, free: 180 kB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4859, allocations: 0 / 0.6073 GB, free: 180 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05872/0.5446, allocations: 17.83 MB / 0.6247 GB, free: 14.49 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.49, allocations: 7.938 kB / 0.6247 GB, free: 14.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.54133483627811] Failed to read output from testmodel.py, exit status != 0: 12.61475923890248 12.632996048 12.229671589 Calling exit ...