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.001285/0.001285, allocations: 123.4 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.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.001371/0.001371, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.573/1.573, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.1848/0.1848, allocations: 38.5 MB / 348.7 MB, free: 2.613 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.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: 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.001978/0.001978, allocations: 67.89 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 62.41 MB / 0.5367 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.01041/0.1397, allocations: 7.516 MB / 0.544 GB, free: 40 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007125/0.1468, allocations: 4.455 MB / 0.5484 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005532/0.1474, allocations: 15.94 kB / 0.5484 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.1502, allocations: 1.047 MB / 0.5494 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.1533, allocations: 1.211 MB / 0.5506 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.1542, allocations: 323.1 kB / 0.5509 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.1561, allocations: 1.399 MB / 0.5522 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.157, allocations: 0.5245 MB / 0.5528 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.1581, allocations: 0.6419 MB / 0.5534 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1591, allocations: 0.7476 MB / 0.5541 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.1592, allocations: 64 kB / 0.5542 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.1618, allocations: 1.368 MB / 0.5555 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005621/0.1624, allocations: 498.6 kB / 0.556 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005342/0.1629, allocations: 434 kB / 0.5564 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.1654, allocations: 1.464 MB / 0.5578 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1654, allocations: 7.938 kB / 0.5578 GB, free: 1.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1654, allocations: 0 / 0.5578 GB, free: 1.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.1654, allocations: 0 / 0.5578 GB, free: 1.812 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.001967/0.1674, allocations: 1.145 MB / 0.559 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1674, allocations: 16.02 kB / 0.559 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.1676, allocations: 119.2 kB / 0.5591 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.171, allocations: 399.9 kB / 0.5595 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.172, allocations: 490.9 kB / 0.5599 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.1721, allocations: 54.36 kB / 0.56 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.1723, allocations: 76.28 kB / 0.5601 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.1744, allocations: 1.184 MB / 0.5612 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.1745, allocations: 0 / 0.5612 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/0.1745, allocations: 31.98 kB / 0.5613 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.1747, allocations: 69.95 kB / 0.5613 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.1766, allocations: 1.241 MB / 0.5625 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/0.1826, allocations: 3.504 MB / 0.566 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.1844, allocations: 0.9911 MB / 0.5669 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009634/0.1854, allocations: 0.5901 MB / 0.5675 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.647e-05/0.1855, allocations: 16.98 kB / 0.5675 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.1855, allocations: 43.56 kB / 0.5676 GB, free: 7.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 4.268e-06/0.1855, allocations: 3.938 kB / 0.5676 GB, free: 7.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.007496/0.193, allocations: 3.096 MB / 0.5706 GB, free: 4.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.1931, allocations: 86.11 kB / 0.5707 GB, free: 4.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.1936, allocations: 365.6 kB / 0.571 GB, free: 4.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/0.1937, allocations: 45.73 kB / 0.5711 GB, free: 3.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.1939, allocations: 317 kB / 0.5714 GB, free: 3.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/0.1945, allocations: 329.1 kB / 0.5717 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.1947, allocations: 154.6 kB / 0.5718 GB, free: 3.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.195, allocations: 370.8 kB / 0.5722 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.1957, allocations: 465.7 kB / 0.5726 GB, free: 2.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/0.1966, allocations: 0.5773 MB / 0.5732 GB, free: 1.738 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.1983, allocations: 1.105 MB / 0.5743 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.1983, allocations: 4 kB / 0.5743 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002952/0.2013, allocations: 1.473 MB / 0.5757 GB, free: 15.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.2013, allocations: 8.188 kB / 0.5757 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2013, allocations: 8 kB / 0.5757 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.2024, allocations: 336.6 kB / 0.576 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/0.2032, allocations: 183.7 kB / 0.5762 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006492/0.2097, allocations: 4.183 MB / 0.5803 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007528/0.2104, allocations: 48.02 kB / 0.5803 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.2106, allocations: 39.98 kB / 0.5804 GB, free: 10.15 MB / 446.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.0006664/0.2113, allocations: 293.5 kB / 0.5807 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.2115, allocations: 55.67 kB / 0.5807 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.2145, allocations: 1.559 MB / 0.5822 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.2146, allocations: 8 kB / 0.5822 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.2146, allocations: 8 kB / 0.5823 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.2146, allocations: 3.984 kB / 0.5823 GB, free: 8.207 MB / 446.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.006041/0.2206, allocations: 3.027 MB / 0.5852 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.2206, allocations: 4 kB / 0.5852 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.2213, allocations: 167.7 kB / 0.5854 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000907/0.2222, allocations: 285 kB / 0.5856 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.2223, allocations: 31.81 kB / 0.5857 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/0.2281, allocations: 3.91 MB / 0.5895 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.2281, allocations: 4 kB / 0.5895 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2495/0.4776, allocations: 1.589 MB / 0.5911 GB, free: 50.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.4779, allocations: 145 kB / 0.5912 GB, free: 50.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.478, allocations: 26.22 kB / 0.5912 GB, free: 50.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.4786, allocations: 41.22 kB / 0.5913 GB, free: 50.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.4788, allocations: 82.91 kB / 0.5913 GB, free: 50.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/0.4789, allocations: 37.03 kB / 0.5914 GB, free: 50.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004201/0.4793, allocations: 259.5 kB / 0.5916 GB, free: 50.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4793, allocations: 0.5312 kB / 0.5916 GB, free: 50.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001178/0.4805, allocations: 301.8 kB / 0.5919 GB, free: 50.57 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.003406/0.4839, allocations: 2.159 MB / 0.594 GB, free: 49.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.4867, allocations: 1.334 MB / 0.5953 GB, free: 49.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.4867, allocations: 3.25 kB / 0.5953 GB, free: 49.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.4881, allocations: 0.7944 MB / 0.5961 GB, free: 48.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4892, allocations: 103.2 kB / 0.5962 GB, free: 48.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.5017, allocations: 7.534 MB / 0.6036 GB, free: 45.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.5024, allocations: 1.07 MB / 0.6046 GB, free: 44.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004855/0.5029, allocations: 178.7 kB / 0.6048 GB, free: 44.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.5033, allocations: 258.3 kB / 0.605 GB, free: 44.27 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5033, allocations: 0 / 0.605 GB, free: 44.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/0.5487, allocations: 16.87 MB / 0.6215 GB, free: 35.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.51, allocations: 14.5 kB / 0.6215 GB, free: 35.43 MB / 446.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 14.57893938300549] Failed to read output from testmodel.py, exit status != 0: 11.597918579005636 11.607025114 11.439453461 Calling exit ...