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.0007688/0.0007688, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001122/0.001122, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8982/0.8982, allocations: 177.1 MB / 204.2 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2155/0.2155, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.035e-05, allocations: 6.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005615/0.005635, allocations: 6.958 MB / 437.2 MB, free: 6.605 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00475/0.01039, allocations: 4.081 MB / 441.3 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.01075, allocations: 15.94 kB / 441.3 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.01212, allocations: 1.022 MB / 442.3 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.01423, allocations: 1.24 MB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2041/0.2184, allocations: 319.4 kB / 443.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001975/0.2203, allocations: 1.434 MB / 445.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007603/0.2211, allocations: 0.5033 MB / 445.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009085/0.222, allocations: 0.815 MB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/0.2228, allocations: 0.6853 MB / 447.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.2229, allocations: 65.56 kB / 447.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.2246, allocations: 1.147 MB / 448.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.2249, allocations: 0.5093 MB / 449 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.2252, allocations: 311.3 kB / 449.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.2267, allocations: 1.537 MB / 450.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2267, allocations: 4.656 kB / 450.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.2267, allocations: 0 / 450.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.2267, allocations: 0 / 450.9 MB, free: 42.88 MB / 410.7 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.001454/0.2281, allocations: 1.056 MB / 451.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2282, allocations: 17.95 kB / 451.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.75e-05/0.2283, allocations: 132.5 kB / 452.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.2299, allocations: 393.4 kB / 452.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.2304, allocations: 432.6 kB / 452.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.2304, allocations: 55.31 kB / 452.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/0.2305, allocations: 72.14 kB / 453 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.2316, allocations: 1.176 MB / 454.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.2316, allocations: 192 / 454.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.2317, allocations: 29.98 kB / 454.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.2317, allocations: 73.56 kB / 454.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2329, allocations: 1.237 MB / 455.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.2358, allocations: 3.228 MB / 458.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2369, allocations: 0.981 MB / 459.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/0.2374, allocations: 0.5937 MB / 460.3 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.2375, allocations: 13.62 kB / 460.3 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2375, allocations: 46.33 kB / 460.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.905e-06/0.2375, allocations: 0 / 460.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.003595/0.2411, allocations: 3.005 MB / 463.4 MB, free: 38.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2411, allocations: 90.45 kB / 463.5 MB, free: 38.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.2414, allocations: 373 kB / 463.8 MB, free: 38.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.2414, allocations: 37.14 kB / 463.9 MB, free: 38.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.2415, allocations: 321.2 kB / 464.2 MB, free: 37.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2416, allocations: 328.4 kB / 464.5 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.2417, allocations: 157.4 kB / 464.6 MB, free: 37.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.2418, allocations: 364.2 kB / 465 MB, free: 37.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.2422, allocations: 469.6 kB / 465.5 MB, free: 36.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.2426, allocations: 0.5674 MB / 466 MB, free: 36.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/0.2435, allocations: 1.116 MB / 467.1 MB, free: 36.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2435, allocations: 3.156 kB / 467.1 MB, free: 36.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001343/0.2449, allocations: 1.468 MB / 468.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2449, allocations: 5.312 kB / 468.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2449, allocations: 6.094 kB / 468.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.2454, allocations: 335.6 kB / 468.9 MB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.2458, allocations: 176.8 kB / 469.1 MB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.2486, allocations: 3.928 MB / 473.1 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.2489, allocations: 45.11 kB / 473.1 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.2489, allocations: 40.16 kB / 473.1 MB, free: 33.19 MB / 410.7 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.000232/0.2491, allocations: 290.6 kB / 473.4 MB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.2492, allocations: 58.05 kB / 473.5 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.2506, allocations: 1.556 MB / 475 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.2506, allocations: 14.8 kB / 475 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2506, allocations: 5.906 kB / 475.1 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2507, allocations: 6.344 kB / 475.1 MB, free: 32.39 MB / 410.7 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.00299/0.2536, allocations: 2.786 MB / 477.8 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.2537, allocations: 3.344 kB / 477.8 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.254, allocations: 170.1 kB / 478 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000511/0.2545, allocations: 273.9 kB / 478.3 MB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.2546, allocations: 34.12 kB / 478.3 MB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.2576, allocations: 3.693 MB / 482 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.2577, allocations: 5.25 kB / 482 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.2595, allocations: 1.59 MB / 483.6 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.2596, allocations: 63.8 kB / 483.7 MB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.2596, allocations: 23.53 kB / 483.7 MB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2599, allocations: 42.98 kB / 483.7 MB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.26, allocations: 93.19 kB / 483.8 MB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.26, allocations: 37.08 kB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.2602, allocations: 254.8 kB / 484.1 MB, free: 27.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2602, allocations: 0 / 484.1 MB, free: 27.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006935/0.2609, allocations: 306.5 kB / 484.4 MB, free: 27.88 MB / 410.7 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.001847/0.2627, allocations: 2.145 MB / 486.5 MB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.2645, allocations: 1.34 MB / 487.9 MB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2645, allocations: 1.688 kB / 487.9 MB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.2653, allocations: 0.7917 MB / 488.7 MB, free: 25.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.2658, allocations: 104.7 kB / 488.8 MB, free: 25.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008002/0.2738, allocations: 7.545 MB / 496.3 MB, free: 22.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.2744, allocations: 477.4 kB / 496.8 MB, free: 21.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003411/0.2747, allocations: 179.6 kB / 497 MB, free: 21.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.275, allocations: 262.9 kB / 497.2 MB, free: 21.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.275, allocations: 1 kB / 497.2 MB, free: 21.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.3058, allocations: 17.95 MB / 0.5031 GB, free: 11.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.664, allocations: 13.98 kB / 0.5031 GB, free: 11.81 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.606917520985007] Failed to read output from testmodel.py, exit status != 0: 7.750860053114593 7.760869556 7.531878139 Calling exit ...