Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001368/0.001368, allocations: 124 kB / 17.79 MB, free: 5.266 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.00148/0.00148, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.522/1.522, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.189/0.189, allocations: 38.49 MB / 342.5 MB, free: 8.02 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.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.11 kB / 478.6 MB, free: 33.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1132, allocations: 61.25 MB / 0.5272 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009702/0.1229, allocations: 7.629 MB / 0.5347 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006628/0.1296, allocations: 4.202 MB / 0.5388 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.13, allocations: 12 kB / 0.5388 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.1329, allocations: 1.054 MB / 0.5398 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.1356, allocations: 1.109 MB / 0.5409 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009773/0.1366, allocations: 307.2 kB / 0.5412 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.1389, allocations: 1.371 MB / 0.5425 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008421/0.1398, allocations: 372 kB / 0.5429 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.1409, allocations: 0.5601 MB / 0.5434 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009707/0.1419, allocations: 0.6461 MB / 0.5441 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.831e-05/0.142, allocations: 40.05 kB / 0.5441 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.1439, allocations: 1.021 MB / 0.5451 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.1443, allocations: 279.1 kB / 0.5454 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.1446, allocations: 246.9 kB / 0.5456 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.1461, allocations: 0.8174 MB / 0.5464 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1461, allocations: 0 / 0.5464 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1461, allocations: 0 / 0.5464 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.1461, allocations: 4 kB / 0.5464 GB, free: 13.63 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001343/0.1475, allocations: 0.8222 MB / 0.5472 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1475, allocations: 15.83 kB / 0.5472 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.1476, allocations: 82.69 kB / 0.5473 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.1493, allocations: 128.5 kB / 0.5474 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.15, allocations: 342.7 kB / 0.5477 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.15, allocations: 33.34 kB / 0.5478 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.1501, allocations: 44.36 kB / 0.5478 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/0.1511, allocations: 0.5789 MB / 0.5484 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1511, allocations: 3.938 kB / 0.5484 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.1511, allocations: 15.98 kB / 0.5484 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.141e-05/0.1512, allocations: 44.62 kB / 0.5484 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006389/0.1518, allocations: 378.1 kB / 0.5488 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.1547, allocations: 2.596 MB / 0.5513 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.1554, allocations: 410.2 kB / 0.5517 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.1558, allocations: 194.6 kB / 0.5519 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1558, allocations: 4 kB / 0.5519 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.1558, allocations: 42.5 kB / 0.552 GB, free: 7.598 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/0.1558, allocations: 0 / 0.552 GB, free: 7.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001848/0.1577, allocations: 0.7617 MB / 0.5527 GB, free: 6.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.1578, allocations: 115 kB / 0.5528 GB, free: 6.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.1581, allocations: 324.6 kB / 0.5531 GB, free: 6.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.1581, allocations: 33.7 kB / 0.5532 GB, free: 6.312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1583, allocations: 252.4 kB / 0.5534 GB, free: 6.059 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1585, allocations: 119 kB / 0.5535 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1586, allocations: 82.08 kB / 0.5536 GB, free: 5.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1588, allocations: 346.8 kB / 0.5539 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.159, allocations: 128.8 kB / 0.554 GB, free: 5.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.1594, allocations: 279.4 kB / 0.5543 GB, free: 5.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.16, allocations: 456.1 kB / 0.5547 GB, free: 4.527 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.16, allocations: 3.938 kB / 0.5547 GB, free: 4.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009595/0.161, allocations: 0.5582 MB / 0.5553 GB, free: 3.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.161, allocations: 8 kB / 0.5553 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.161, allocations: 4 kB / 0.5553 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000381/0.1614, allocations: 120.8 kB / 0.5554 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.1616, allocations: 72.19 kB / 0.5555 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.1648, allocations: 2.571 MB / 0.558 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.1651, allocations: 39.67 kB / 0.558 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.1651, allocations: 20 kB / 0.5581 GB, free: 0.9805 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.1654, allocations: 212.5 kB / 0.5583 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.1655, allocations: 35.77 kB / 0.5583 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-05/0.1656, allocations: 47.95 kB / 0.5583 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1656, allocations: 4 kB / 0.5583 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.1656, allocations: 7.938 kB / 0.5584 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1656, allocations: 0 / 0.5584 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1671, allocations: 0.95 MB / 0.5593 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1671, allocations: 3.938 kB / 0.5593 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1672, allocations: 31.98 kB / 0.5593 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002972/0.1675, allocations: 112.7 kB / 0.5594 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.1676, allocations: 8.062 kB / 0.5594 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.1705, allocations: 2.548 MB / 0.5619 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1705, allocations: 0 / 0.5619 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.1714, allocations: 0.6228 MB / 0.5625 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.1716, allocations: 112.8 kB / 0.5626 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.1716, allocations: 15.92 kB / 0.5626 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1718, allocations: 16 kB / 0.5627 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.1718, allocations: 15.97 kB / 0.5627 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1719, allocations: 12 kB / 0.5627 GB, free: 11.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.1721, allocations: 223 kB / 0.5629 GB, free: 11.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 0 / 0.5629 GB, free: 11.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007061/0.1728, allocations: 159.8 kB / 0.5631 GB, free: 11.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/0.174, allocations: 1.16 MB / 0.5642 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1751, allocations: 0.5117 MB / 0.5647 GB, free: 9.859 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1751, allocations: 4.125 kB / 0.5647 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.1756, allocations: 338 kB / 0.565 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.1763, allocations: 63.3 kB / 0.5651 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/0.1818, allocations: 3.999 MB / 0.569 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.1824, allocations: 0.8824 MB / 0.5698 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.1826, allocations: 66.91 kB / 0.5699 GB, free: 4.242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.1828, allocations: 119.4 kB / 0.57 GB, free: 4.125 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1828, allocations: 0 / 0.57 GB, free: 4.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.221, allocations: 7.726 MB / 0.5776 GB, free: 12.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.37, allocations: 10.94 kB / 0.5776 GB, free: 12.49 MB / 446.1 MB " [Timeout remaining time 650] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.360472095955629] Failed to read output from testmodel.py, exit status != 0: 10.458071664965246 10.488376967 10.336660764 Calling exit ...