Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001363/0.001363, allocations: 124.3 kB / 17.79 MB, free: 5.246 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.001499/0.001499, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.568/1.568, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2099/0.2099, allocations: 38.51 MB / 348.7 MB, free: 2.602 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_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.002005/0.002005, allocations: 59.91 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1332, allocations: 62.41 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009584/0.1428, allocations: 7.536 MB / 0.544 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007049/0.1499, allocations: 4.447 MB / 0.5484 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006463/0.1505, allocations: 15.94 kB / 0.5484 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.1536, allocations: 1.051 MB / 0.5494 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.1571, allocations: 1.207 MB / 0.5506 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.1583, allocations: 327.1 kB / 0.5509 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.1609, allocations: 1.402 MB / 0.5523 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.1619, allocations: 0.5206 MB / 0.5528 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.1632, allocations: 0.6381 MB / 0.5534 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.1643, allocations: 0.7476 MB / 0.5541 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1644, allocations: 64 kB / 0.5542 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.1673, allocations: 1.372 MB / 0.5555 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.168, allocations: 490.7 kB / 0.556 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006586/0.1686, allocations: 438 kB / 0.5564 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.1716, allocations: 1.468 MB / 0.5579 GB, free: 1.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.1716, allocations: 0 / 0.5579 GB, free: 1.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1716, allocations: 0 / 0.5579 GB, free: 1.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.1716, allocations: 0 / 0.5579 GB, free: 1.777 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.002448/0.1741, allocations: 1.145 MB / 0.559 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/0.1742, allocations: 12.03 kB / 0.559 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.1744, allocations: 127.2 kB / 0.5591 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/0.1782, allocations: 399.9 kB / 0.5595 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1795, allocations: 494.8 kB / 0.56 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.1796, allocations: 58.36 kB / 0.56 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.1798, allocations: 68.36 kB / 0.5601 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.1819, allocations: 1.18 MB / 0.5612 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.182, allocations: 0 / 0.5612 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.182, allocations: 31.98 kB / 0.5613 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.1821, allocations: 69.95 kB / 0.5613 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.1843, allocations: 1.245 MB / 0.5625 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006453/0.1907, allocations: 3.5 MB / 0.566 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.1926, allocations: 0.984 MB / 0.5669 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.1936, allocations: 0.5939 MB / 0.5675 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-05/0.1937, allocations: 24.92 kB / 0.5675 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.1938, allocations: 43.55 kB / 0.5676 GB, free: 7.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 4.177e-06/0.1938, allocations: 0 / 0.5676 GB, free: 7.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.00777/0.2016, allocations: 3.093 MB / 0.5706 GB, free: 4.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.2016, allocations: 86.11 kB / 0.5707 GB, free: 4.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.2022, allocations: 365.6 kB / 0.571 GB, free: 3.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.459e-05/0.2023, allocations: 49.67 kB / 0.5711 GB, free: 3.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.2025, allocations: 320.9 kB / 0.5714 GB, free: 3.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.203, allocations: 329.1 kB / 0.5717 GB, free: 3.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.2033, allocations: 154.6 kB / 0.5718 GB, free: 3.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.2035, allocations: 366.8 kB / 0.5722 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007785/0.2042, allocations: 473.7 kB / 0.5726 GB, free: 2.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/0.2051, allocations: 0.5695 MB / 0.5732 GB, free: 1.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.2069, allocations: 1.109 MB / 0.5743 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2069, allocations: 0 / 0.5743 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002847/0.2097, allocations: 1.473 MB / 0.5757 GB, free: 15.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.2098, allocations: 8.188 kB / 0.5757 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.2098, allocations: 4 kB / 0.5757 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.2108, allocations: 332.6 kB / 0.576 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.2116, allocations: 183.7 kB / 0.5762 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006241/0.2178, allocations: 4.188 MB / 0.5803 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.2185, allocations: 47.94 kB / 0.5804 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.2186, allocations: 39.98 kB / 0.5804 GB, free: 10.12 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.000487/0.2191, allocations: 292.9 kB / 0.5807 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2192, allocations: 63.67 kB / 0.5807 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.2221, allocations: 1.551 MB / 0.5823 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.2221, allocations: 12 kB / 0.5823 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2221, allocations: 4 kB / 0.5823 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.2221, allocations: 11.97 kB / 0.5823 GB, free: 8.172 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.005405/0.2276, allocations: 3.019 MB / 0.5852 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.2276, allocations: 4 kB / 0.5852 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006753/0.2282, allocations: 175.6 kB / 0.5854 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008928/0.2291, allocations: 284.9 kB / 0.5857 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.2292, allocations: 27.98 kB / 0.5857 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.2347, allocations: 3.916 MB / 0.5895 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.2347, allocations: 4 kB / 0.5895 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2505/0.4853, allocations: 1.582 MB / 0.5911 GB, free: 50.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.4856, allocations: 145.9 kB / 0.5912 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4857, allocations: 27.39 kB / 0.5912 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.4862, allocations: 40.3 kB / 0.5913 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.4864, allocations: 91.56 kB / 0.5914 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.804e-05/0.4865, allocations: 33.03 kB / 0.5914 GB, free: 50.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000373/0.4869, allocations: 257.5 kB / 0.5916 GB, free: 50.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4869, allocations: 0 / 0.5916 GB, free: 50.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4881, allocations: 305.3 kB / 0.5919 GB, free: 50.5 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.003168/0.4913, allocations: 2.161 MB / 0.594 GB, free: 49.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.494, allocations: 1.334 MB / 0.5953 GB, free: 49.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.494, allocations: 0.9375 kB / 0.5953 GB, free: 49.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.4956, allocations: 0.7919 MB / 0.5961 GB, free: 48.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4966, allocations: 101.7 kB / 0.5962 GB, free: 48.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.5091, allocations: 7.537 MB / 0.6036 GB, free: 45.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.5099, allocations: 1.069 MB / 0.6046 GB, free: 44.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005551/0.5105, allocations: 185.6 kB / 0.6048 GB, free: 44.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.5109, allocations: 262.6 kB / 0.605 GB, free: 44.21 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5109, allocations: 1.031 kB / 0.605 GB, free: 44.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04712/0.558, allocations: 16.87 MB / 0.6215 GB, free: 35.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.61, allocations: 2.031 kB / 0.6215 GB, free: 35.34 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_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_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.843040827996447] Failed to read output from testmodel.py, exit status != 0: 11.70883677600068 11.720704918000001 11.546486553 Calling exit ...