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.00156/0.00156, 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.001515/0.001515, allocations: 210.9 kB / 23.72 MB, free: 4.391 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1852/0.1852, allocations: 38.56 MB / 352.5 MB, free: 12.32 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="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: 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.00206/0.00206, allocations: 63.91 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3523, allocations: 62.47 MB / 0.542 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009107/0.3614, allocations: 7.171 MB / 0.549 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006635/0.368, allocations: 3.902 MB / 0.5528 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.3687, allocations: 21.03 kB / 0.5528 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.3715, allocations: 1.012 MB / 0.5538 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.3749, allocations: 1.107 MB / 0.5549 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3761, allocations: 309.8 kB / 0.5552 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.3783, allocations: 1.369 MB / 0.5565 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008441/0.3791, allocations: 398.6 kB / 0.5569 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.3804, allocations: 0.5877 MB / 0.5574 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.3815, allocations: 0.6266 MB / 0.5581 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.3816, allocations: 36 kB / 0.5581 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.3836, allocations: 0.7866 MB / 0.5589 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.3839, allocations: 287.1 kB / 0.5591 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.3842, allocations: 207.1 kB / 0.5593 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.3853, allocations: 0.8175 MB / 0.5601 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3854, allocations: 4 kB / 0.5601 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3854, allocations: 4 kB / 0.5601 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3854, allocations: 0 / 0.5601 GB, free: 1.621 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.001169/0.3865, allocations: 0.7313 MB / 0.5608 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3866, allocations: 15.98 kB / 0.5609 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.3867, allocations: 78.7 kB / 0.5609 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.3882, allocations: 140.5 kB / 0.5611 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.3888, allocations: 284.8 kB / 0.5613 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.3888, allocations: 29.36 kB / 0.5614 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.3889, allocations: 40.36 kB / 0.5614 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009049/0.3898, allocations: 0.5887 MB / 0.562 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3898, allocations: 3.938 kB / 0.562 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.3898, allocations: 19.97 kB / 0.562 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/0.3899, allocations: 36.64 kB / 0.562 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.3905, allocations: 382.1 kB / 0.5624 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.3935, allocations: 2.474 MB / 0.5648 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.3943, allocations: 405.4 kB / 0.5652 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3946, allocations: 194.6 kB / 0.5654 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3946, allocations: 11.98 kB / 0.5654 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3947, allocations: 38.5 kB / 0.5654 GB, free: 11.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.3947, allocations: 0 / 0.5654 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001845/0.3965, allocations: 0.6818 MB / 0.5661 GB, free: 11.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/0.3966, allocations: 106.8 kB / 0.5662 GB, free: 11.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.397, allocations: 332.5 kB / 0.5665 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.397, allocations: 33.7 kB / 0.5666 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.3972, allocations: 248.4 kB / 0.5668 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3973, allocations: 130.9 kB / 0.5669 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3974, allocations: 78.09 kB / 0.567 GB, free: 10.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3976, allocations: 351 kB / 0.5673 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3978, allocations: 132.7 kB / 0.5675 GB, free: 9.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.3982, allocations: 279.4 kB / 0.5677 GB, free: 9.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.3987, allocations: 452.2 kB / 0.5682 GB, free: 8.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3987, allocations: 8 kB / 0.5682 GB, free: 8.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009384/0.3997, allocations: 0.5543 MB / 0.5687 GB, free: 8.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3997, allocations: 8 kB / 0.5687 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3997, allocations: 8 kB / 0.5687 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.4001, allocations: 120 kB / 0.5688 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.4004, allocations: 76.22 kB / 0.5689 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.4033, allocations: 2.375 MB / 0.5712 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.4035, allocations: 51.56 kB / 0.5713 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.4036, allocations: 20 kB / 0.5713 GB, free: 5.566 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.0002336/0.4038, allocations: 197.7 kB / 0.5715 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.4039, allocations: 35.77 kB / 0.5715 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.404, allocations: 51.95 kB / 0.5716 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.404, allocations: 4 kB / 0.5716 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.404, allocations: 7.938 kB / 0.5716 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.404, allocations: 3.984 kB / 0.5716 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.4054, allocations: 0.8867 MB / 0.5724 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4054, allocations: 4 kB / 0.5725 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.4055, allocations: 31.98 kB / 0.5725 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.4058, allocations: 108.7 kB / 0.5726 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.4058, allocations: 8 kB / 0.5726 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.4086, allocations: 2.379 MB / 0.5749 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4086, allocations: 3.938 kB / 0.5749 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.4094, allocations: 0.6267 MB / 0.5755 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.4095, allocations: 39.69 kB / 0.5756 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.4095, allocations: 11.94 kB / 0.5756 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4097, allocations: 8 kB / 0.5756 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.4097, allocations: 23.95 kB / 0.5756 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.4098, allocations: 12 kB / 0.5756 GB, free: 0.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.41, allocations: 223 kB / 0.5758 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.41, allocations: 0 / 0.5758 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006659/0.4107, allocations: 163.8 kB / 0.576 GB, free: 0.5391 MB / 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.001197/0.4119, allocations: 1.148 MB / 0.5771 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009713/0.4129, allocations: 0.5145 MB / 0.5776 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4129, allocations: 0 / 0.5776 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.4133, allocations: 331.2 kB / 0.5779 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.4139, allocations: 68.66 kB / 0.578 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.4192, allocations: 3.994 MB / 0.5819 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4195, allocations: 284.6 kB / 0.5822 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.4197, allocations: 70.91 kB / 0.5822 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.4199, allocations: 111.4 kB / 0.5823 GB, free: 9.715 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4199, allocations: 3.938 kB / 0.5823 GB, free: 9.711 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.4606, allocations: 8.329 MB / 0.5905 GB, free: 1.523 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.12, allocations: 10.38 kB / 0.5905 GB, free: 1.516 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.96118112001568] Failed to read output from testmodel.py, exit status != 0: 12.232731414027512 12.252672551 11.862907287 Calling exit ...