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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 119.3 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 186.9 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.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.1808/0.1808, allocations: 38.49 MB / 342.5 MB, free: 8.07 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 69.11 kB / 478.6 MB, free: 33.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09891, allocations: 61.25 MB / 0.5272 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009066/0.108, allocations: 7.771 MB / 0.5348 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.1145, allocations: 4.779 MB / 0.5395 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.1149, allocations: 15.94 kB / 0.5395 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.1176, allocations: 1.09 MB / 0.5405 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.1204, allocations: 1.273 MB / 0.5418 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1215, allocations: 367 kB / 0.5421 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.1232, allocations: 1.476 MB / 0.5436 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008058/0.124, allocations: 0.5251 MB / 0.5441 GB, free: 48 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009309/0.1249, allocations: 0.6381 MB / 0.5447 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.1259, allocations: 0.7865 MB / 0.5455 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.126, allocations: 64 kB / 0.5455 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.1286, allocations: 1.469 MB / 0.547 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.1291, allocations: 0.4948 MB / 0.5475 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.1296, allocations: 457.8 kB / 0.5479 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.1319, allocations: 1.549 MB / 0.5494 GB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1319, allocations: 4 kB / 0.5494 GB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1319, allocations: 0 / 0.5494 GB, free: 10.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1319, allocations: 0 / 0.5494 GB, free: 10.58 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.00183/0.1338, allocations: 1.184 MB / 0.5506 GB, free: 9.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1338, allocations: 15.89 kB / 0.5506 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.134, allocations: 135.4 kB / 0.5507 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.1373, allocations: 419.8 kB / 0.5511 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.1383, allocations: 0.4994 MB / 0.5516 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.1384, allocations: 54.36 kB / 0.5517 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.1385, allocations: 72.36 kB / 0.5517 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.1405, allocations: 1.23 MB / 0.5529 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.1405, allocations: 11.89 kB / 0.5529 GB, free: 6.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.1406, allocations: 35.97 kB / 0.553 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.1407, allocations: 81.94 kB / 0.553 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.1428, allocations: 1.304 MB / 0.5543 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006182/0.1489, allocations: 3.682 MB / 0.5579 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.1507, allocations: 1.006 MB / 0.5589 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008781/0.1516, allocations: 0.5823 MB / 0.5595 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/0.1517, allocations: 21.08 kB / 0.5595 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.1517, allocations: 43.56 kB / 0.5595 GB, free: 15.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.986e-06/0.1517, allocations: 0 / 0.5595 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.006999/0.1587, allocations: 3.159 MB / 0.5626 GB, free: 12.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1588, allocations: 90.05 kB / 0.5627 GB, free: 12.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.1593, allocations: 381.5 kB / 0.5631 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.1593, allocations: 41.7 kB / 0.5631 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.1596, allocations: 324.9 kB / 0.5634 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.1599, allocations: 337.1 kB / 0.5637 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.1601, allocations: 166.7 kB / 0.5639 GB, free: 11.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1603, allocations: 366.8 kB / 0.5642 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/0.161, allocations: 465.7 kB / 0.5647 GB, free: 10.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008079/0.1619, allocations: 0.5704 MB / 0.5652 GB, free: 9.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.1635, allocations: 1.118 MB / 0.5663 GB, free: 8.836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1635, allocations: 0 / 0.5663 GB, free: 8.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002633/0.1662, allocations: 1.473 MB / 0.5678 GB, free: 7.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1662, allocations: 11.94 kB / 0.5678 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1662, allocations: 4.219 kB / 0.5678 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/0.1672, allocations: 334 kB / 0.5681 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.1679, allocations: 183.7 kB / 0.5683 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/0.1737, allocations: 4.175 MB / 0.5724 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.1743, allocations: 48.02 kB / 0.5724 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/0.1744, allocations: 43.92 kB / 0.5725 GB, free: 2.398 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.0004378/0.1748, allocations: 301.5 kB / 0.5727 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.175, allocations: 63.62 kB / 0.5728 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.1779, allocations: 1.536 MB / 0.5743 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.1779, allocations: 12 kB / 0.5743 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.1779, allocations: 4 kB / 0.5743 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.1779, allocations: 7.969 kB / 0.5743 GB, free: 468 kB / 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.005789/0.1837, allocations: 3 MB / 0.5773 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.1837, allocations: 4 kB / 0.5773 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.1844, allocations: 167.7 kB / 0.5774 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008083/0.1852, allocations: 285 kB / 0.5777 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.1852, allocations: 24 kB / 0.5777 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005422/0.1907, allocations: 3.907 MB / 0.5815 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.1907, allocations: 4 kB / 0.5815 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.1934, allocations: 1.567 MB / 0.5831 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.1936, allocations: 148.6 kB / 0.5832 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.1938, allocations: 28 kB / 0.5832 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.1942, allocations: 43.95 kB / 0.5833 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.1944, allocations: 80.78 kB / 0.5833 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.1945, allocations: 31.98 kB / 0.5834 GB, free: 6.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000347/0.1948, allocations: 271.1 kB / 0.5836 GB, free: 6.551 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1948, allocations: 0 / 0.5836 GB, free: 6.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001018/0.1958, allocations: 304 kB / 0.5839 GB, free: 6.254 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.002979/0.1988, allocations: 2.137 MB / 0.586 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.2012, allocations: 1.328 MB / 0.5873 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.2012, allocations: 7.938 kB / 0.5873 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.2026, allocations: 0.797 MB / 0.5881 GB, free: 1.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.2034, allocations: 116.8 kB / 0.5882 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.2154, allocations: 7.635 MB / 0.5957 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.2165, allocations: 1.083 MB / 0.5967 GB, free: 8.785 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004973/0.217, allocations: 180.7 kB / 0.5969 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.2174, allocations: 271.3 kB / 0.5972 GB, free: 8.344 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.2174, allocations: 0 / 0.5972 GB, free: 8.344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2972/0.5147, allocations: 17.07 MB / 0.6138 GB, free: 73.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.59, allocations: 4.062 kB / 0.6138 GB, free: 73.38 MB / 462.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.264197636395693] Failed to read output from testmodel.py, exit status != 0: 11.67465810617432 11.690719464 11.555892429 Calling exit ...