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.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.001388/0.001388, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001576/0.001576, allocations: 216.5 kB / 24.52 MB, free: 3.91 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.569/1.569, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2062/0.2062, allocations: 38.56 MB / 353.2 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_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="cs",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.002061/0.002061, allocations: 67.84 kB / 493.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 62.46 MB / 0.5427 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01063/0.3703, allocations: 7.166 MB / 0.5497 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006748/0.3771, allocations: 3.888 MB / 0.5535 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.3778, allocations: 17.19 kB / 0.5535 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.3807, allocations: 1.026 MB / 0.5545 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.3838, allocations: 1.107 MB / 0.5556 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3848, allocations: 309.1 kB / 0.5559 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.387, allocations: 1.369 MB / 0.5572 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008126/0.3878, allocations: 398 kB / 0.5576 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.389, allocations: 0.5847 MB / 0.5582 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009495/0.3899, allocations: 0.65 MB / 0.5588 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.39, allocations: 36 kB / 0.5589 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.3918, allocations: 0.7983 MB / 0.5596 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.3922, allocations: 287.1 kB / 0.5599 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.3925, allocations: 203.1 kB / 0.5601 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3939, allocations: 0.8213 MB / 0.5609 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3939, allocations: 0 / 0.5609 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.3939, allocations: 4 kB / 0.5609 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.394, allocations: 0 / 0.5609 GB, free: 1.57 MB / 398.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.00126/0.3952, allocations: 0.7352 MB / 0.5616 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3953, allocations: 19.92 kB / 0.5616 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.762e-05/0.3953, allocations: 9.188 kB / 0.5617 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.3954, allocations: 86.69 kB / 0.5617 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.397, allocations: 128.5 kB / 0.5619 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.3975, allocations: 280.7 kB / 0.5621 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.3976, allocations: 33.38 kB / 0.5622 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.3976, allocations: 40.36 kB / 0.5622 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/0.3986, allocations: 0.5885 MB / 0.5628 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3986, allocations: 4 kB / 0.5628 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.3986, allocations: 19.98 kB / 0.5628 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.496e-05/0.3987, allocations: 36.62 kB / 0.5628 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.3993, allocations: 386.1 kB / 0.5632 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.4022, allocations: 2.47 MB / 0.5656 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.4029, allocations: 409.3 kB / 0.566 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.4033, allocations: 198.4 kB / 0.5662 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4033, allocations: 4 kB / 0.5662 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.4033, allocations: 38.56 kB / 0.5662 GB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 3.186e-06/0.4033, allocations: 0 / 0.5662 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001935/0.4053, allocations: 0.6819 MB / 0.5669 GB, free: 11.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.939e-05/0.4054, allocations: 110.8 kB / 0.567 GB, free: 11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.4058, allocations: 320.6 kB / 0.5673 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.4058, allocations: 29.7 kB / 0.5673 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.406, allocations: 256.3 kB / 0.5676 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.4062, allocations: 119 kB / 0.5677 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.4063, allocations: 82.09 kB / 0.5678 GB, free: 10.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.4065, allocations: 346.8 kB / 0.5681 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4067, allocations: 128.8 kB / 0.5682 GB, free: 9.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.4071, allocations: 279.4 kB / 0.5685 GB, free: 9.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.4077, allocations: 460.2 kB / 0.5689 GB, free: 8.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.4077, allocations: 3.938 kB / 0.5689 GB, free: 8.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009149/0.4086, allocations: 0.5586 MB / 0.5695 GB, free: 8.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4086, allocations: 8 kB / 0.5695 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4086, allocations: 4 kB / 0.5695 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/0.409, allocations: 124.8 kB / 0.5696 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.4093, allocations: 67.91 kB / 0.5697 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.4122, allocations: 2.394 MB / 0.572 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.4125, allocations: 47.62 kB / 0.5721 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.4125, allocations: 16 kB / 0.5721 GB, free: 5.504 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.0002623/0.4128, allocations: 193.7 kB / 0.5723 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.4129, allocations: 39.83 kB / 0.5723 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.413, allocations: 51.94 kB / 0.5724 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.413, allocations: 7.938 kB / 0.5724 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.413, allocations: 7.938 kB / 0.5724 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.413, allocations: 0 / 0.5724 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.4143, allocations: 0.875 MB / 0.5732 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4143, allocations: 8.062 kB / 0.5732 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4144, allocations: 35.92 kB / 0.5733 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.4147, allocations: 108.8 kB / 0.5734 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.4147, allocations: 8 kB / 0.5734 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.4174, allocations: 2.386 MB / 0.5757 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4174, allocations: 0 / 0.5757 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.4182, allocations: 0.6228 MB / 0.5763 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.4182, allocations: 51.58 kB / 0.5764 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.4183, allocations: 8 kB / 0.5764 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.4185, allocations: 4 kB / 0.5764 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.4185, allocations: 35.88 kB / 0.5764 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4185, allocations: 11.98 kB / 0.5764 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.4188, allocations: 219.1 kB / 0.5766 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4188, allocations: 0 / 0.5766 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006805/0.4194, allocations: 155.8 kB / 0.5768 GB, free: 488 kB / 414.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.001124/0.4206, allocations: 1.168 MB / 0.5779 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000907/0.4215, allocations: 0.5035 MB / 0.5784 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4215, allocations: 0 / 0.5784 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.4219, allocations: 330.4 kB / 0.5787 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.4225, allocations: 64.59 kB / 0.5788 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.4277, allocations: 4.003 MB / 0.5827 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.4281, allocations: 276.6 kB / 0.583 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.4283, allocations: 66.91 kB / 0.583 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.4284, allocations: 119.4 kB / 0.5831 GB, free: 9.648 MB / 430.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4284, allocations: 0 / 0.5831 GB, free: 9.648 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.4629, allocations: 8.141 MB / 0.5911 GB, free: 1.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.47, allocations: 11.27 kB / 0.5911 GB, free: 1.656 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.552205903921276] Failed to read output from testmodel.py, exit status != 0: 12.665160304051824 12.685077363 12.286149237 Calling exit ...