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.0008564/0.0008564, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008267/0.0008267, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8782/0.8782, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.213/0.213, allocations: 29.41 MB / 290.1 MB, free: 2.449 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.169e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007852/0.007873, allocations: 6.945 MB / 437.2 MB, free: 6.617 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.0114, allocations: 4.081 MB / 441.2 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003331/0.01173, allocations: 19.94 kB / 441.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.01291, allocations: 1.019 MB / 442.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.0147, allocations: 1.236 MB / 443.5 MB, free: 240 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1606/0.1753, allocations: 325.2 kB / 443.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.1768, allocations: 1.429 MB / 445.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006806/0.1775, allocations: 0.5112 MB / 445.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007462/0.1782, allocations: 0.8154 MB / 446.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.1788, allocations: 0.6804 MB / 447.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.1788, allocations: 65.12 kB / 447.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.1802, allocations: 1.139 MB / 448.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.1805, allocations: 0.5117 MB / 449 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1807, allocations: 312.8 kB / 449.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.182, allocations: 1.534 MB / 450.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.182, allocations: 0.6562 kB / 450.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.182, allocations: 0 / 450.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.182, allocations: 0 / 450.8 MB, free: 42.93 MB / 410.7 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.001142/0.1832, allocations: 1.067 MB / 451.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1832, allocations: 13.92 kB / 451.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.816e-05/0.1833, allocations: 124.7 kB / 452 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.1848, allocations: 394.3 kB / 452.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.1853, allocations: 439.2 kB / 452.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.1853, allocations: 53.91 kB / 452.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.1854, allocations: 71.23 kB / 453 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1864, allocations: 1.173 MB / 454.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.1864, allocations: 3.688 kB / 454.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.1865, allocations: 31.52 kB / 454.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.1865, allocations: 77.44 kB / 454.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.1876, allocations: 1.235 MB / 455.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.1905, allocations: 3.221 MB / 458.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.1915, allocations: 0.9778 MB / 459.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.192, allocations: 0.5918 MB / 460.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.192, allocations: 21.3 kB / 460.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.192, allocations: 41.03 kB / 460.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.206e-06/0.192, allocations: 0 / 460.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.003541/0.1956, allocations: 3.007 MB / 463.3 MB, free: 38.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1956, allocations: 92.95 kB / 463.4 MB, free: 38.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1959, allocations: 371.8 kB / 463.8 MB, free: 38.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1959, allocations: 40.77 kB / 463.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.196, allocations: 321.8 kB / 464.1 MB, free: 37.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.1962, allocations: 323.8 kB / 464.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.1963, allocations: 159.1 kB / 464.6 MB, free: 37.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.1964, allocations: 367.8 kB / 465 MB, free: 37.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.1967, allocations: 467.8 kB / 465.4 MB, free: 37.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.1972, allocations: 0.5691 MB / 466 MB, free: 36.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008606/0.198, allocations: 1.11 MB / 467.1 MB, free: 36.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.198, allocations: 0 / 467.1 MB, free: 36.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001359/0.1994, allocations: 1.474 MB / 468.6 MB, free: 35.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1994, allocations: 6.25 kB / 468.6 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1994, allocations: 0 / 468.6 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.1999, allocations: 332 kB / 468.9 MB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.2003, allocations: 183.2 kB / 469.1 MB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.2031, allocations: 3.92 MB / 473 MB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.2034, allocations: 50.78 kB / 473.1 MB, free: 33.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.2035, allocations: 40.75 kB / 473.1 MB, free: 33.28 MB / 410.7 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.0002933/0.2037, allocations: 293.8 kB / 473.4 MB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.2038, allocations: 55.91 kB / 473.4 MB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.2052, allocations: 1.554 MB / 475 MB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.2052, allocations: 13.09 kB / 475 MB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2053, allocations: 6.219 kB / 475 MB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2053, allocations: 7.031 kB / 475 MB, free: 32.48 MB / 410.7 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.002862/0.2081, allocations: 2.782 MB / 477.8 MB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2081, allocations: 4.594 kB / 477.8 MB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.2085, allocations: 165.5 kB / 478 MB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/0.2089, allocations: 291.8 kB / 478.3 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.2089, allocations: 25.77 kB / 478.3 MB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002764/0.2117, allocations: 3.699 MB / 482 MB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2117, allocations: 11.09 kB / 482 MB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.2132, allocations: 1.582 MB / 483.6 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2133, allocations: 63.69 kB / 483.6 MB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.2133, allocations: 25.28 kB / 483.7 MB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.2136, allocations: 42.16 kB / 483.7 MB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2137, allocations: 86.8 kB / 483.8 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.2137, allocations: 37.27 kB / 483.8 MB, free: 28.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.2139, allocations: 260.7 kB / 484.1 MB, free: 28 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2139, allocations: 2.719 kB / 484.1 MB, free: 28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006792/0.2146, allocations: 310.1 kB / 484.4 MB, free: 27.96 MB / 410.7 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.001566/0.2161, allocations: 2.141 MB / 486.5 MB, free: 26.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.2177, allocations: 1.344 MB / 487.9 MB, free: 26.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2177, allocations: 1.062 kB / 487.9 MB, free: 26.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008431/0.2185, allocations: 0.7954 MB / 488.7 MB, free: 25.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.2191, allocations: 107 kB / 488.8 MB, free: 25.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008049/0.2271, allocations: 7.539 MB / 496.3 MB, free: 22.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.2277, allocations: 474 kB / 496.8 MB, free: 21.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000422/0.2281, allocations: 184.7 kB / 496.9 MB, free: 21.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.2284, allocations: 259.3 kB / 497.2 MB, free: 21.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2284, allocations: 0 / 497.2 MB, free: 21.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.2614, allocations: 17.96 MB / 0.5031 GB, free: 11.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.08/7.341, allocations: 8.922 kB / 0.5031 GB, free: 11.78 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.164392282254994] Failed to read output from testmodel.py, exit status != 0: 7.431841842830181 7.437572867 7.253740898 Calling exit ...