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.001787/0.001787, 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.002141/0.002141, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.555/1.555, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.1912/0.1912, allocations: 38.55 MB / 353.3 MB, free: 12.31 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,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",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.001992/0.001992, allocations: 63.89 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3901, allocations: 62.47 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009349/0.3994, allocations: 7.007 MB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006421/0.4059, allocations: 4.112 MB / 0.5536 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.4063, allocations: 15.84 kB / 0.5536 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.4089, allocations: 1.026 MB / 0.5546 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.412, allocations: 1.207 MB / 0.5558 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009797/0.413, allocations: 322.9 kB / 0.5561 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.4149, allocations: 1.405 MB / 0.5574 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009247/0.4158, allocations: 0.514 MB / 0.5579 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.4169, allocations: 0.6381 MB / 0.5586 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.418, allocations: 0.7515 MB / 0.5593 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.4181, allocations: 67.98 kB / 0.5594 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.4203, allocations: 1.122 MB / 0.5605 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.4208, allocations: 494.7 kB / 0.5609 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.4213, allocations: 374.4 kB / 0.5613 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.4239, allocations: 1.46 MB / 0.5627 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4239, allocations: 0 / 0.5627 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4239, allocations: 0 / 0.5627 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.4239, allocations: 0 / 0.5627 GB, free: 15.73 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001936/0.4258, allocations: 1.086 MB / 0.5638 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4259, allocations: 11.98 kB / 0.5638 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.036e-05/0.4259, allocations: 22.19 kB / 0.5638 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.4261, allocations: 131.2 kB / 0.5639 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/0.4293, allocations: 391.9 kB / 0.5643 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007997/0.4301, allocations: 433.7 kB / 0.5647 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.4301, allocations: 54.36 kB / 0.5648 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.4303, allocations: 76.36 kB / 0.5648 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.4323, allocations: 1.176 MB / 0.566 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.4324, allocations: 4 kB / 0.566 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/0.4324, allocations: 31.98 kB / 0.566 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.4326, allocations: 69.95 kB / 0.5661 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.4346, allocations: 1.245 MB / 0.5673 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005699/0.4403, allocations: 3.232 MB / 0.5705 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.4421, allocations: 0.9794 MB / 0.5714 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009068/0.443, allocations: 0.594 MB / 0.572 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-05/0.4431, allocations: 9 kB / 0.572 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.4431, allocations: 55.67 kB / 0.5721 GB, free: 5.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 7.043e-06/0.4431, allocations: 4 kB / 0.5721 GB, free: 5.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.00698/0.4501, allocations: 2.998 MB / 0.575 GB, free: 2.926 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.4502, allocations: 86.11 kB / 0.5751 GB, free: 2.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.4507, allocations: 369.6 kB / 0.5754 GB, free: 2.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.4507, allocations: 37.7 kB / 0.5755 GB, free: 2.414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.451, allocations: 324.9 kB / 0.5758 GB, free: 2.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.4513, allocations: 329.1 kB / 0.5761 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.4516, allocations: 162.6 kB / 0.5762 GB, free: 1.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4518, allocations: 362.8 kB / 0.5766 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.4525, allocations: 469.7 kB / 0.577 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.4534, allocations: 0.5696 MB / 0.5776 GB, free: 184 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.4551, allocations: 1.109 MB / 0.5787 GB, free: 15.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4551, allocations: 4 kB / 0.5787 GB, free: 15.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002768/0.4579, allocations: 1.462 MB / 0.5801 GB, free: 13.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4579, allocations: 11.98 kB / 0.5801 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4579, allocations: 0 / 0.5801 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.459, allocations: 336.8 kB / 0.5804 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.4598, allocations: 179.7 kB / 0.5806 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00597/0.4657, allocations: 3.927 MB / 0.5844 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.4664, allocations: 47.95 kB / 0.5845 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.4664, allocations: 35.98 kB / 0.5845 GB, free: 8.93 MB / 430.1 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.0004768/0.4669, allocations: 297.5 kB / 0.5848 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.4671, allocations: 63.69 kB / 0.5849 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/0.4702, allocations: 1.547 MB / 0.5864 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4702, allocations: 12 kB / 0.5864 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.4702, allocations: 4 kB / 0.5864 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4702, allocations: 3.984 kB / 0.5864 GB, free: 6.984 MB / 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.005894/0.4761, allocations: 2.786 MB / 0.5891 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.4761, allocations: 12.08 kB / 0.5891 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.4769, allocations: 167.8 kB / 0.5893 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009741/0.4779, allocations: 284.5 kB / 0.5896 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.379e-05/0.478, allocations: 20 kB / 0.5896 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006028/0.484, allocations: 3.706 MB / 0.5932 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.484, allocations: 7.938 kB / 0.5932 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.4871, allocations: 1.587 MB / 0.5948 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.4873, allocations: 71.53 kB / 0.5948 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.4875, allocations: 27.94 kB / 0.5949 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/0.488, allocations: 43.95 kB / 0.5949 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.4882, allocations: 88.72 kB / 0.595 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.4883, allocations: 39.98 kB / 0.595 GB, free: 13.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003735/0.4887, allocations: 251.2 kB / 0.5953 GB, free: 13.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4887, allocations: 0 / 0.5953 GB, free: 13.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00123/0.4899, allocations: 308 kB / 0.5956 GB, free: 13.33 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.003352/0.4933, allocations: 2.151 MB / 0.5977 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.4959, allocations: 1.346 MB / 0.599 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.4959, allocations: 0 / 0.599 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.4974, allocations: 0.7852 MB / 0.5997 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4985, allocations: 114 kB / 0.5998 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.5116, allocations: 7.538 MB / 0.6072 GB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/0.5123, allocations: 480.8 kB / 0.6077 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000497/0.5128, allocations: 184.6 kB / 0.6078 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.5133, allocations: 255.3 kB / 0.6081 GB, free: 144 kB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5133, allocations: 0 / 0.6081 GB, free: 144 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0509/0.5642, allocations: 17.82 MB / 0.6255 GB, free: 14.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.22, allocations: 8.047 kB / 0.6255 GB, free: 14.47 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.30608789192047] Failed to read output from testmodel.py, exit status != 0: 13.39563124300912 13.412050955 12.984590501 Calling exit ...